diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index ebaac81..6cb17f1 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -676,9 +676,10 @@ class Tournament(models.Model): return None def round_to_show(self): + print('===== round_to_show') last_started_match = self.first_unfinished_match() - print(f'last_started_match = {last_started_match.name}') if last_started_match: + print(f'last_started_match = {last_started_match.name}') current_round = last_started_match.round.root_round() print(f'round_to_show > current_round: {current_round.name()}') if current_round: