forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2023-09-29 03:22:20 +03:00
parent af53f84a15
commit cf4b981bb4
1 changed files with 1 additions and 1 deletions

View File

@ -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():
if v and not IS_EVENT() and session.get("event_music"):
session.pop("event_music")
return v