From 0e7e25fbd3a0424beb952c96fc685c3736f9b9cd Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 29 Sep 2023 03:22:34 +0300 Subject: [PATCH] same as last commit --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index ae4c685d9..26c198135 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -118,7 +118,7 @@ def get_logged_in_user(): g.is_tor = (request.headers.get("cf-ipcountry") == "T1" and not (v and v.truescore >= 1000)) - if v and not IS_EVENT() and session.get("event_music"): + if v and session.get("event_music") and not IS_EVENT(): session.pop("event_music") return v