remotes/1693045480750635534/spooky-22
Aevann1 2021-09-30 03:43:08 +02:00
parent 5a47b60c8c
commit 12ce3465ce
1 changed files with 0 additions and 7 deletions

View File

@ -177,13 +177,6 @@ def post_id(pid, anything=None, v=None):
post.preloaded_comments = comments.all()
keys = []
for key, val in session.items():
if type(val) is int and key not in ['login_nonce','user_id']:
keys.append(key)
for key in keys: session.pop(key)
post.views += 1
g.db.add(post)
if isinstance(session.get('over_18', 0), dict): session["over_18"] = 0