forked from rDrama/rDrama
minor log fix
parent
159cb52e46
commit
7f1de57ffe
|
@ -60,7 +60,7 @@ def get_logged_in_user():
|
|||
g.db.add(v)
|
||||
|
||||
if AEVANN_ID and request.headers.get("Cf-Ipcountry") == 'EG':
|
||||
if v and not v.username.startswith('Aev') and v.truescore > 0:
|
||||
if v and v.id != AEVANN_ID and not v.username.startswith('Aev') and v.truescore > 0:
|
||||
with open(f"{LOG_DIRECTORY}/eg.log", "a+", encoding="utf-8") as f:
|
||||
f.seek(0)
|
||||
ip = request.headers.get('CF-Connecting-IP')
|
||||
|
|
Loading…
Reference in New Issue