forked from rDrama/rDrama
master
parent
c3de3e0ced
commit
ef4ab77f6d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue