From 982984acd2bde1db8350f9a88edf2d0c0b31620c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 3 Sep 2022 05:50:21 +0200 Subject: [PATCH] sneed --- files/helpers/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 1bcd0d9df..b6f123db0 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -76,7 +76,7 @@ def get_logged_in_user(): if v: v.poor = session.get('poor') - if SITE == 'rdrama.net' and v.id == 3732: + if SITE == 'rdrama.net' and v and v.id == 3732: print(request.headers.get('CF-Connecting-IP'), flush=True) if AEVANN_ID and request.headers.get("Cf-Ipcountry") == 'EG':