Fix issues based on linter

This commit is contained in:
rubenwardy
2023-06-18 22:21:37 +01:00
parent f2cfb6c17d
commit d808a5c822
19 changed files with 46 additions and 71 deletions

View File

@@ -101,7 +101,6 @@ def set_lock(id):
if thread.locked is None:
abort(400)
msg = None
if thread.locked:
msg = "Locked thread '{}'".format(thread.title)
flash(gettext("Locked thread"), "success")