add forgetten error code

master
Aevann 2023-01-27 13:25:32 +02:00
parent 7bda728287
commit d9b0b6084d
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ def filters(v:User):
filters=request.values.get("filters")[:1000].strip()
if filters == v.custom_filter_list:
return redirect("/settings/advanced?error=You didn't change anything!")
return redirect("/settings/advanced?error=You didn't change anything!"), 400
v.custom_filter_list=filters
g.db.add(v)