forked from rDrama/rDrama
master
parent
23290c96bc
commit
09912c08a8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue