Explorar o código

!2 add more logs

pcacc hai 1 mes
pai
achega
b437eba950
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      app_dongri.py

+ 3 - 1
app_dongri.py

@@ -52,10 +52,12 @@ def thread_runTask():
             current_time = time.time()
             task = task_queue[-1]
             task_queue.pop()
+            print(f"{task.name} 开始执行")
             last_process = task.name
             task.run()
             cost_time = int(time.time() - current_time)
             send_status(f"{task.name} 执行完成,耗时{cost_time}秒")
+            print(f"{task.name} 执行完成,耗时{cost_time}秒")
             myTimeSleep_small()
         else:
             myTimeSleep_big()
@@ -573,7 +575,7 @@ def auto_task(data):
         isAddStrengh = data['add_strength']
         activity = data['activity']
         participateJijie = data['participate_jijie']
-        auto_daily = data['auto_daily']
+        auto_daily = False
         train_type = data['train']
         always = data['always']
         cureNumber = data['cureNumber']