forked from MarseyWorld/MarseyWorld
fdsfsd
parent
748767ec11
commit
d89e7d7b69
|
@ -41,6 +41,8 @@ def distribute(v, cid):
|
|||
|
||||
pool = 0
|
||||
for option in post.bet_options: pool += option.upvotes
|
||||
pool *= 200
|
||||
|
||||
votes = g.db.query(CommentVote).filter_by(comment_id=cid)
|
||||
coinsperperson = int(pool / votes.count())
|
||||
|
||||
|
|
Loading…
Reference in New Issue