forked from MarseyWorld/MarseyWorld
fdfd
parent
105195c2b5
commit
7e46627a64
|
@ -196,7 +196,7 @@ def post_id(pid, anything=None, v=None):
|
|||
if type(val) is int and key not in ['login_nonce','user_id']:
|
||||
if time.time() - val > 86400: keys += key
|
||||
|
||||
del session[keys]
|
||||
session.pop(keys)
|
||||
print(session)
|
||||
|
||||
post.views += 1
|
||||
|
|
Loading…
Reference in New Issue