From 06aacf10ec9a0c7bf7f1218ab1dd58edfe852bf0 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 17 Sep 2023 22:16:05 +0300 Subject: [PATCH] remove rdrama exception --- 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 a088a10f9..7e709a88a 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -110,7 +110,7 @@ def get_logged_in_user(): g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr")) - g.is_tor = (request.headers.get("cf-ipcountry") == "T1" and not (SITE_NAME == 'rDrama' and v and v.truescore >= 1000)) + g.is_tor = (request.headers.get("cf-ipcountry") == "T1" and not (v and v.truescore >= 1000)) return v