master
Aevann1 2021-12-23 20:30:34 +02:00
parent 748767ec11
commit d89e7d7b69
1 changed files with 2 additions and 0 deletions

View File

@ -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())