Commit 93462f5c authored by litaolemo's avatar litaolemo

update

parent 72c037c7
...@@ -174,7 +174,7 @@ def get_es_article_num(tag_dict, allow_tag=["first_demands", "second_demands", " ...@@ -174,7 +174,7 @@ def get_es_article_num(tag_dict, allow_tag=["first_demands", "second_demands", "
"second_positions": [], "second_positions": [],
"tags_v3": [], "tags_v3": [],
} }
for key in article_dict.keys(): for key in list(article_dict.keys()):
if key not in allow_tag: if key not in allow_tag:
article_dict.pop(key) article_dict.pop(key)
......
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