zhangbo 1 anno fa
parent
commit
a1e141a209
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      alg_recsys_recall_4h_region_trend.py

+ 1 - 1
alg_recsys_recall_4h_region_trend.py

@@ -125,7 +125,7 @@ def h_timer_check():
             #2 读取数据表
             data = get_table_data(project, table, partition)
             for one in data:
-                if one in region_name2code:
+                if one["region"] in region_name2code:
                     pass
                 else:
                     log_.info("{}被过滤掉了".format(one))