From 207fd12d9d16eace969e0468634d131c388fb878 Mon Sep 17 00:00:00 2001 From: Raz Date: Sun, 2 Feb 2025 10:41:52 +0100 Subject: [PATCH] fix match title --- tournaments/models/match.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 92b6046..acdf519 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -158,11 +158,11 @@ class Match(models.Model): # No team scores at all if previous_top_match: - names = [f"Gagnants du {previous_top_match.computed_name()}", ''] + names = [f"Gagnants {previous_top_match.computed_name()}", ''] team = self.default_live_team(names) teams.append(team) if previous_bottom_match: - names = [f"Gagnants du {previous_bottom_match.computed_name()}", ''] + names = [f"Gagnants {previous_bottom_match.computed_name()}", ''] team = self.default_live_team(names) teams.append(team) elif len(team_scores) == 1: @@ -174,12 +174,12 @@ class Match(models.Model): teams.append(existing_team) else: 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 {previous_top_match.computed_name()}", ''] team = self.default_live_team(names) teams.append(team) teams.append(existing_team) elif previous_bottom_match: - names = [f"Gagnants du {previous_bottom_match.computed_name()}", ''] + names = [f"Gagnants {previous_bottom_match.computed_name()}", ''] team = self.default_live_team(names) teams.append(existing_team) teams.append(team)