zhangbo 1 year ago
parent
commit
a1e141a209
1 changed files with 1 additions and 1 deletions
  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))