Commit 4d9341b6 authored by 段英荣's avatar 段英荣

modify bug

parent ad112f2f
......@@ -251,9 +251,10 @@ def get_same_tagset_ids(tag_list):
"tag_id",
flat=True))
logging.info("get_same_tagset_ids:%s" % str(tag_ids))
all_tag.extend(tag_ids)
logging.info("get_same_tagset_ids:%s" % str(all_tag))
return tag_ids
return list(set(all_tag))
except:
logging_exception()
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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