master
Aevann1 2021-09-10 07:11:52 +02:00
parent 23290c96bc
commit 09912c08a8
1 changed files with 2 additions and 1 deletions

View File

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