Commit 4113e297 authored by 李小芳's avatar 李小芳

Merge branch 'operator_tag' into 'master'

smr

See merge request !23
parents eafda2e7 439efa3a
......@@ -266,7 +266,7 @@ def get_tractate(pks):
projects = [list(item.keys())[0] for item in result_data.get("projects", [])]
item['portrait_tag_name'].extend(projects)
if 3315 in item['operators_add_tags']:
if "operators_add_tags" in item and 3315 in item['operators_add_tags']:
item['new_smr'] = tractate.get_tractate_newuser_smr(tractate_id=tractate.id)
data.append(item)
......
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