dsfsdf
parent
f9b4bdeeca
commit
7a391c6543
|
@ -57,7 +57,7 @@ def distribute(v, cid):
|
|||
g.db.add(autobetter)
|
||||
|
||||
cid = notif_comment(f"You lost the 200 coins you bet on [{post.permalink}]({post.permalink}) :marseylaugh:")
|
||||
cids = (x.id for x in post.bet_options)
|
||||
cids = (x.id for x in post.bet_options if x.id != cid)
|
||||
votes = g.db.query(CommentVote).filter(CommentVote.comment_id.in_(cids)).all()
|
||||
for vote in votes: add_notif(cid, vote.user.id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue