|
|
|
|
@ -360,13 +360,13 @@ class Tournament(BaseModel): |
|
|
|
|
|
|
|
|
|
# Team is not in list |
|
|
|
|
if index < 0: |
|
|
|
|
print("Team is not in list", index, self.team_count) |
|
|
|
|
print("get_team_waiting_list_position: Team is not in list", index, self.team_count) |
|
|
|
|
return -1 |
|
|
|
|
# Return position in waiting list relative to target count |
|
|
|
|
print("Return position in waiting list relative to target count", index, self.team_count) |
|
|
|
|
print("get_team_waiting_list_position: Return position in waiting list relative to target count", index, self.team_count) |
|
|
|
|
return index - self.team_count |
|
|
|
|
else: |
|
|
|
|
print("else", index, self.team_count) |
|
|
|
|
print("get_team_waiting_list_position: Return -1", self.team_count) |
|
|
|
|
return -1 |
|
|
|
|
|
|
|
|
|
def group_stage_spots(self): |
|
|
|
|
|