Fixed tag bug

This commit is contained in:
Anon 2022-10-12 15:28:33 -07:00
parent bf47ecf36d
commit f26853cdb5

View File

@ -29,11 +29,7 @@ def random_tag(*tags):
def collect_tags(post):
tag_response = []
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)
return post["tags"].strip()