forked from rDrama/rDrama
fdsfsd
parent
748767ec11
commit
d89e7d7b69
|
@ -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…
Reference in New Issue