From d9b0b6084dceb3c3d7cac2652c3e3d5b51a7a2db Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 27 Jan 2023 13:25:32 +0200 Subject: [PATCH] add forgetten error code --- files/routes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 63a286e95..6d449c591 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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)