master
Aevann1 2021-09-10 07:12:33 +02:00
parent 09912c08a8
commit 22c681847d
1 changed files with 3 additions and 3 deletions

View File

@ -191,9 +191,9 @@ def post_id(pid, anything=None, v=None):
session[str(post.id)] = int(time.time())
for i in session.values():
if type(i) is int:
print(i)
for key, val in session.items():
if type(val) is int:
print(key + val)
post.views += 1
g.db.add(post)