forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-10 07:20:40 +02:00
parent ef4ab77f6d
commit 41dc72d3b3
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ def post_id(pid, anything=None, v=None):
for key, val in session.items():
print(key)
if type(val) is int and key not in ['login_nonce','user_id']:
if time.time() - val > 86400: keys += key
if time.time() - val > 86400: keys.append(key)
print(keys)
for key in keys: session.pop(key)