liqian il y a 3 ans
Parent
commit
b202d32aad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      rule_rank_h_18_19.py

+ 1 - 1
rule_rank_h_18_19.py

@@ -197,7 +197,7 @@ def h_timer_check(app_type):
         h_rank_bottom(app_type=app_type, now_date=now_date, now_h=now_h)
     else:
         # 数据没准备好,1分钟后重新检查
-        Timer(60, h_timer_check).start()
+        Timer(60, h_timer_check, args=[app_type]).start()
 
 
 def predict(app_type_list):