forked from rDrama/rDrama
fix 500 error
parent
19add5fa9e
commit
5523747c3a
|
@ -18,7 +18,6 @@ def session_init():
|
||||||
session["session_id"] = secrets.token_hex(49)
|
session["session_id"] = secrets.token_hex(49)
|
||||||
|
|
||||||
def calc_users(v):
|
def calc_users(v):
|
||||||
if g.is_api_or_xhr: return
|
|
||||||
loggedin = cache.get(f'{SITE}_loggedin') or {}
|
loggedin = cache.get(f'{SITE}_loggedin') or {}
|
||||||
loggedout = cache.get(f'{SITE}_loggedout') or {}
|
loggedout = cache.get(f'{SITE}_loggedout') or {}
|
||||||
timestamp = int(time.time())
|
timestamp = int(time.time())
|
||||||
|
|
Loading…
Reference in New Issue