From 80f661f7fb52d5a0a23a2c39c29d6b2a45661ce1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 23 Sep 2022 14:09:33 +0200 Subject: [PATCH] remove unnecessary check --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index a6ab7c6cc..a4c7221d6 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -231,7 +231,7 @@ def distribute(v, option_id): cid = notif_comment(f"You lost the 200 coins you bet on [{post.title}]({post.shortlink}) :marseylaugh:") losing_voters = [] for o in post.options: - if o.exclusive == 2 and o.id != option_id: + if o.exclusive == 2: losing_voters.extend([x.user_id for x in o.votes]) for uid in losing_voters: add_notif(cid, uid)