Skip to content

Commit

Permalink
Allocate all ticekts in lottery
Browse files Browse the repository at this point in the history
  • Loading branch information
SamLR committed May 27, 2024
1 parent 6694a6c commit 8d11086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cfp/lottery_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run_lottery(ticketed_proposals):
continue

for ticket in tickets_for_round:
if ticket.ticket_count < tickets_remaining:
if ticket.ticket_count <= tickets_remaining:
ticket.won_lottery_and_cancel_others()
winning_tickets.append(ticket)
tickets_remaining -= ticket.ticket_count
Expand Down

0 comments on commit 8d11086

Please sign in to comment.