From 21356f93ff862e6319225b685e82e8ea95242e48 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 6 Dec 2024 15:38:28 +0100 Subject: [PATCH] add more logs --- tournaments/models/tournament.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 50add08..ebaac81 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -677,6 +677,7 @@ class Tournament(models.Model): def round_to_show(self): last_started_match = self.first_unfinished_match() + print(f'last_started_match = {last_started_match.name}') if last_started_match: current_round = last_started_match.round.root_round() print(f'round_to_show > current_round: {current_round.name()}')