1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 00:20:31 +02:00

Fix 5-teams pools passages

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-17 21:56:46 +02:00
parent b24201c529
commit 91a1837c99
2 changed files with 7 additions and 8 deletions

View File

@ -378,11 +378,11 @@ class Pool(models.Model):
]
elif self.size == 5:
table = [
[0, 3, 2],
[1, 4, 3],
[2, 0, 4],
[3, 1, 0],
[4, 2, 1],
[0, 2, 3],
[1, 3, 4],
[4, 0, 2],
[3, 0, 1],
[4, 1, 2],
]
for i, line in enumerate(table):