Commit 76bff169 authored by 张彦钊's avatar 张彦钊

change test file

parent 8ec7a60d
......@@ -97,6 +97,7 @@ def tag_boost(cid_str, tag_list=[15,21,22,85,86]):
left_cids = list(set(left_cids))
right_cids = [i for i in cids if i not in left_cids]
tag_cids["right"] = right_cids
print(tag_cids)
tag_list.append("right")
sort_cids = []
n = 0
......@@ -113,7 +114,7 @@ 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(tag_cids)
print(sort_cids)
news_ids = []
for id in sort_cids:
......
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