From 21d2ba8bd35efe59f67b61f65b0a3442849b9010 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 22 Jan 2023 06:44:39 +0200 Subject: [PATCH] debugging --- files/routes/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/chat.py b/files/routes/chat.py index 154beb660..8617a8228 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -41,6 +41,7 @@ messages = cache.get(f'messages') or { def chat(v): if not v.admin_level and TRUESCORE_CHAT_MINIMUM and v.truescore < TRUESCORE_CHAT_MINIMUM: abort(403, f"Need at least {TRUESCORE_CHAT_MINIMUM} truescore for access to chat.") + if v.id == 1: print(messages[f"{SITE_FULL}/chat"], flush=True) return render_template("chat.html", v=v, messages=messages[f"{SITE_FULL}/chat"]) @app.get("/admin/chat")