From c6e5287c5ab688136262efc94bc910266d8b583a Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Thu, 14 Aug 2025 13:55:21 +0200 Subject: [PATCH] fix flash not using error category --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cb1a502..081a2e6 100644 --- a/main.py +++ b/main.py @@ -95,7 +95,7 @@ def check_banned(): cur.close() if row is None or row[0]: - flash("Imagine forgetting to touch grass so you get banned from my app. Such a discord moderator you are. You have no life. Just go outside.") + flash("Imagine forgetting to touch grass so you get banned from my app. Such a discord moderator you are. You have no life. Just go outside.", "error") flask_login.logout_user() return redirect("/")