diff --git a/apps/cfp/lottery_tasks.py b/apps/cfp/lottery_tasks.py index b2bb98d7d..072e4eba1 100644 --- a/apps/cfp/lottery_tasks.py +++ b/apps/cfp/lottery_tasks.py @@ -134,7 +134,7 @@ def run_lottery(ticketed_proposals, dry_run=False): db.session.flush() refresh_states() - losing_ticket_holders = all_lottery_ticket_holders = {t.user for t in winning_tickets} + losing_ticket_holders = all_lottery_ticket_holders - {t.user for t in winning_tickets} app.logger.info(f"people who didn't win a ticket are: {losing_ticket_holders}") # Email winning tickets here