wangkun 2 年 前
コミット
b05d164b01
1 ファイル変更1 行追加1 行削除
  1. 1 1
      weixinzhishu/weixinzhishu_main/run_weixinzhishu_bot.py

+ 1 - 1
weixinzhishu/weixinzhishu_main/run_weixinzhishu_bot.py

@@ -16,8 +16,8 @@ class WeixinzhishuBot:
         if (datetime.datetime.now().hour == 11 and datetime.datetime.now().minute >= 30)\
                 or (datetime.datetime.now().hour == 13 and datetime.datetime.now().minute >= 30):
             Common.logger(log_type, crawler).info("开始检测微信指数 Search_Key 抓取状态")
-            sheet = Feishu.get_values_batch(log_type, crawler, sheetid="sVL74k")
             while True:
+                sheet = Feishu.get_values_batch(log_type, crawler, sheetid="sVL74k")
                 if sheet is None:
                     continue
                 first_key_time_str = sheet[1][0]