diff --git a/main.py b/main.py index a539093..d98f9f9 100644 --- a/main.py +++ b/main.py @@ -848,7 +848,7 @@ def create_report_embed(): yes_count = cur.fetchone()[0] cur.execute("SELECT count(*) FROM no_votes WHERE discord_id_recruit = ?", (recruit[1], )) no_count = cur.fetchone()[0] - if recruit[2] != 0: + if no_count != 0: cur.execute("SELECT reason, discord_id_voter FROM no_votes WHERE discord_id_recruit = ?", (recruit[1], )) no_votes = cur.fetchall() description = description + "**" + recruit[0] + ":** " + str(yes_count) + " Ja, " + str(no_count) + " Nein.\n"