|
|
|
@ -734,7 +734,7 @@ class Tournament(models.Model): |
|
|
|
|
|
|
|
|
|
|
|
# all started matches have ended, possibly |
|
|
|
# all started matches have ended, possibly |
|
|
|
last_finished_match = self.last_finished_match() |
|
|
|
last_finished_match = self.last_finished_match() |
|
|
|
if last_finished_match: |
|
|
|
if last_finished_match and last_finished_match.round: |
|
|
|
# print(f'last_finished_match = {last_finished_match.name}') |
|
|
|
# print(f'last_finished_match = {last_finished_match.name}') |
|
|
|
round_root_index = last_finished_match.round.root_round().index |
|
|
|
round_root_index = last_finished_match.round.root_round().index |
|
|
|
# print(f'round_index = {round_root_index}') |
|
|
|
# print(f'round_index = {round_root_index}') |
|
|
|
|