forked from MarseyWorld/MarseyWorld
move error line
parent
a1d9e64a3b
commit
a7a259381d
|
@ -600,10 +600,10 @@ def update_emoji(v):
|
||||||
updated = True
|
updated = True
|
||||||
|
|
||||||
if tags and existing.tags != tags:
|
if tags and existing.tags != tags:
|
||||||
existing.tags += f" {tags}"
|
|
||||||
existing.tags = delete_unnecessary_tags(existing.tags, existing.name)
|
|
||||||
if not tags_regex.fullmatch(tags):
|
if not tags_regex.fullmatch(tags):
|
||||||
stop(400, "Invalid tags!")
|
stop(400, "Invalid tags!")
|
||||||
|
existing.tags += f" {tags}"
|
||||||
|
existing.tags = delete_unnecessary_tags(existing.tags, existing.name)
|
||||||
updated = True
|
updated = True
|
||||||
|
|
||||||
if nsfw:
|
if nsfw:
|
||||||
|
|
Loading…
Reference in New Issue