Commit d668e17a authored by Kai's avatar Kai

bug fix

parent 52a1fac7
...@@ -86,7 +86,7 @@ class CollectData(object): ...@@ -86,7 +86,7 @@ class CollectData(object):
logging.info("recommend_topic_id_list:%s" % (str(num))) logging.info("recommend_topic_id_list:%s" % (str(num)))
for i in range(0,num): for i in range(0,num):
recommend_topic_id_list.append(recommend_topic_id_list_click[i]) recommend_topic_id_list.append(recommend_topic_id_list_click[i])
have_read_topic_id_list.extend(recommend_topic_id_list)
click_recommend_redis_key = self.click_recommend_redis_key_prefix + str(device_id) click_recommend_redis_key = self.click_recommend_redis_key_prefix + str(device_id)
click_redis_data_dict = { click_redis_data_dict = {
"data": json.dumps(recommend_topic_id_list), "data": json.dumps(recommend_topic_id_list),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment