Fixed tag bug
This commit is contained in:
parent
bf47ecf36d
commit
f26853cdb5
@ -29,11 +29,7 @@ def random_tag(*tags):
|
|||||||
|
|
||||||
|
|
||||||
def collect_tags(post):
|
def collect_tags(post):
|
||||||
tag_response = []
|
return post["tags"].strip()
|
||||||
for tag_type in "tag_string", "tag_string_general":
|
|
||||||
if tag_type in post:
|
|
||||||
tag_response.append(post[tag_type].strip())
|
|
||||||
return " ".join(tag_response)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user