luojunhui il y a 5 mois
Parent
commit
60d5663205
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      coldStartTasks/crawler/weixin_account_crawler.py

+ 1 - 1
coldStartTasks/crawler/weixin_account_crawler.py

@@ -112,7 +112,7 @@ class WeixinAccountCrawler(object):
         :param inner_account_set:
         :return:
         """
-        if response['code'] != 0:
+        if response['code'] != const.REQUEST_SUCCESS:
             return
 
         article_list = response['data']['data']