fsd
This commit is contained in:
parent
257b865ade
commit
5e1d12ea9b
2 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue