diff --git a/draw/consumers.py b/draw/consumers.py index bf37dfc..a365db7 100644 --- a/draw/consumers.py +++ b/draw/consumers.py @@ -541,7 +541,7 @@ class DrawConsumer(AsyncJsonWebsocketConsumer): if await TeamDraw.objects.filter(participation_id=td.participation_id, round__draw__tournament=self.tournament, round__number=1, - purposed=problem).aexists(): + accepted=problem).aexists(): continue # Check that the problem is not already chosen once (or twice for a 5-teams pool) if await pool.teamdraw_set.filter(accepted=problem).acount() < (2 if pool.size == 5 else 1):