zhangyong 4 miesięcy temu
rodzic
commit
1c7647b4e9
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      video_count_notification.py

+ 5 - 5
video_count_notification.py

@@ -53,9 +53,9 @@ def schedule_tasks():
 
 
 if __name__ == "__main__":
-    # schedule_tasks()  # 调用任务调度函数
-    # while True:
-    #     schedule.run_pending()
-    #     time.sleep(1)  # 每秒钟检查一次
-    bot_carry_data()
+    schedule_tasks()  # 调用任务调度函数
+    while True:
+        schedule.run_pending()
+        time.sleep(1)  # 每秒钟检查一次
+    # bot_carry_data()