liqian 1 year ago
parent
commit
a68bd9e399
1 changed files with 2 additions and 1 deletions
  1. 2 1
      recommend_region_data_dup.py

+ 2 - 1
recommend_region_data_dup.py

@@ -257,6 +257,7 @@ def h_timer_check():
                   f"rule_h_status: {rule_h_status}, region_h_status: {region_h_status}")
         if rule_24h_status == '1' and region_24h_status == '1' and rule_h_status == '1' and region_h_status == '1':
             dup_task(now_date, now_h, region_code_list, rule_rank_h_flag, rule_params)
+            log_.info(f"recommend region data dup end!")
         else:
             # 数据未更新好,1分钟后重新检查
             Timer(60, h_timer_check).start()
@@ -271,7 +272,7 @@ def h_timer_check():
                      f"traceback: {traceback.format_exc()}"
         )
 
+
 if __name__ == '__main__':
     log_.info(f"recommend region data dup start...")
     h_timer_check()
-    log_.info(f"recommend region data dup end!")