Commit 8ec7a60d authored by 张彦钊's avatar 张彦钊

change test file

parent 47703589
......@@ -115,9 +115,13 @@ def tag_boost(cid_str, tag_list=[15,21,22,85,86]):
sort_cids.extend(tag_cids["right"])
print(tag_cids)
print(sort_cids)
print(len(sort_cids))
news_ids = []
for id in sort_cids:
if id not in news_ids:
news_ids.append(id)
print(len(news_ids))
print(len(cids))
return sort_cids
return news_ids
else:
......
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