This commit is contained in:
Aevann1 2021-09-10 07:12:33 +02:00
parent 43e9d240f7
commit 2d54d4182f

View file

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