This commit is contained in:
Aevann1 2021-09-24 19:36:09 +02:00
parent 257b865ade
commit 5e1d12ea9b
2 changed files with 4 additions and 1 deletions

View file

@ -104,6 +104,9 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
ti = int(time.time()) + 3600
print(post.upvotes + 1)/(ti - post.created_utc)
if post.club and not (v and v.paid_dues): abort(403)
if v: