fdsfsd
This commit is contained in:
parent
0447748356
commit
af1d76b4d1
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ def distribute(v, cid):
|
||||||
|
|
||||||
pool = 0
|
pool = 0
|
||||||
for option in post.bet_options: pool += option.upvotes
|
for option in post.bet_options: pool += option.upvotes
|
||||||
|
pool *= 200
|
||||||
|
|
||||||
votes = g.db.query(CommentVote).filter_by(comment_id=cid)
|
votes = g.db.query(CommentVote).filter_by(comment_id=cid)
|
||||||
coinsperperson = int(pool / votes.count())
|
coinsperperson = int(pool / votes.count())
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue