Commit cf973cef authored by Kai's avatar Kai

update

parent ea9daf9d
...@@ -87,7 +87,7 @@ class CollectData(object): ...@@ -87,7 +87,7 @@ class CollectData(object):
if len(tag_topic_id_list)>index: if len(tag_topic_id_list)>index:
for topic_id in tag_topic_id_list[index:]: for topic_id in tag_topic_id_list[index:]:
if topic_id not in have_read_topic_id_list and topic_id not in recommend_topic_id_list: if topic_id not in have_read_topic_id_list and topic_id not in recommend_topic_id_list_random:
recommend_topic_id_list_random.append(topic_id) recommend_topic_id_list_random.append(topic_id)
break break
random.shuffle(recommend_topic_id_list_random) random.shuffle(recommend_topic_id_list_random)
......
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