This commit is contained in:
Aevann1 2021-09-10 07:19:32 +02:00
parent 4d0d981b45
commit 4f8a62df41

View file

@ -191,8 +191,11 @@ def post_id(pid, anything=None, v=None):
session[str(post.id)] = int(time.time())
print(session)
keys = []
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