dsfsdf
This commit is contained in:
parent
952c4d87de
commit
39a6db7f4e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue