Commit 06f2a7a4 authored by 张彦钊's avatar 张彦钊

change test file

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