|
|
|
@ -167,7 +167,11 @@ class Match(models.Model): |
|
|
|
elif len(team_scores) == 1: |
|
|
|
elif len(team_scores) == 1: |
|
|
|
# Only one team score, handle missing one |
|
|
|
# Only one team score, handle missing one |
|
|
|
existing_team = team_scores[0].live_team(self) |
|
|
|
existing_team = team_scores[0].live_team(self) |
|
|
|
|
|
|
|
if self.round and self.round.parent: |
|
|
|
|
|
|
|
teams.append(existing_team) |
|
|
|
|
|
|
|
elif (self.group_stage): |
|
|
|
|
|
|
|
teams.append(existing_team) |
|
|
|
|
|
|
|
else: |
|
|
|
if previous_top_match and previous_top_match.disabled == False and previous_top_match.end_date is None: |
|
|
|
if previous_top_match and previous_top_match.disabled == False and previous_top_match.end_date is None: |
|
|
|
names = [f"Gagnants du {previous_top_match.computed_name()}", ''] |
|
|
|
names = [f"Gagnants du {previous_top_match.computed_name()}", ''] |
|
|
|
team = self.default_live_team(names) |
|
|
|
team = self.default_live_team(names) |
|
|
|
|