mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 15:18:26 +02:00
@ -447,10 +447,8 @@ class DrawConsumer(AsyncJsonWebsocketConsumer):
|
||||
td2.passage_index = current_passage_index
|
||||
if len(round2_pools) == 1 and len(tds) == 5:
|
||||
# Exchange teams 1 and 5 if there is only one pool with 5 teams
|
||||
if i == 0:
|
||||
td2.passage_index = 4
|
||||
elif i == 4:
|
||||
td2.passage_index = 0
|
||||
if i == 0 or i == 4:
|
||||
td2.passage_index = 4 - i
|
||||
current_passage_index += 1
|
||||
await td2.asave()
|
||||
|
||||
|
Reference in New Issue
Block a user