Browse Source

fix misplaced comment

merge-requests/139/head
the-boy-sebastian 2 years ago
committed by Bauke
parent
commit
80f45c0b92
  1. 2
      tildes/tildes/views/topic.py

2
tildes/tildes/views/topic.py

@ -129,8 +129,8 @@ def post_group_topics(
split_tag = tag.split(".")
if split_tag[0] == str(group.path):
tag = ".".join(split_tag[1::])
# remove duplicates
new_topic.tags[idx] = tag
# remove duplicates
new_topic.tags = list(set(new_topic.tags))
request.apply_rate_limit("topic_post")

Loading…
Cancel
Save