Commit 8b4b6f3b authored by haowang's avatar haowang

fix code

parent a18465bd
......@@ -217,7 +217,7 @@ class CreateTopicForBatchByOne(BaseView):
if tag_name in tags:
alpha_tag = '<topic>{' + '"id":{},"name":"{}"'.format(tag_id, tag_name) + '}</topic>'
content = content.replace('#' + tag_name, alpha_tag)
item.get("content") = content.replace('#', '')
item["content"] = content.replace('#', '')
item["tag_ids"] = [
_tag_data[tag_name]
......
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