From 03d02cf456adedf538d8a283b6e75b66b0a6cd72 Mon Sep 17 00:00:00 2001 From: Laurent Date: Sat, 16 Mar 2024 09:24:20 +0100 Subject: [PATCH] more match logs ;) --- tournaments/models/tournament.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index d019f20..b5f4451 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -58,7 +58,7 @@ class Tournament(models.Model): for team_registration in self.teamregistration_set.all(): next_match = team_registration.next_match() if next_match: - print(f"MATCH ID = {next_match.id} - {next_match.stage_name()} - {next_match.round.index}") + print(f"MATCH ID = {next_match.id} - {next_match.round.id} - {next_match.round.index}") names = team_registration.team_names() stage = next_match.stage_name() weight = team_registration.weight()