remove some print statement

sync_v2
Razmig Sarkissian 5 months ago
parent 1ce168847a
commit 7f1502dbdf
  1. 4
      tournaments/models/tournament.py

@ -710,7 +710,7 @@ class Tournament(BaseModel):
else: else:
current_round = self.round_to_show() current_round = self.round_to_show()
if current_round: if current_round:
print(f'current_round = {current_round.index} / parent = {current_round.parent}') #print(f'current_round = {current_round.index} / parent = {current_round.parent}')
all_upper_matches_are_over = current_round.all_matches_are_over() all_upper_matches_are_over = current_round.all_matches_are_over()
if all_upper_matches_are_over is False: if all_upper_matches_are_over is False:
matches.extend(current_round.get_matches_recursive(True)) matches.extend(current_round.get_matches_recursive(True))
@ -737,7 +737,7 @@ class Tournament(BaseModel):
previous_previous_matches = [m for m in previous_previous_matches if m.end_date is None] previous_previous_matches = [m for m in previous_previous_matches if m.end_date is None]
matches.extend(previous_previous_matches) matches.extend(previous_previous_matches)
else: else:
print('group_stages') #print('group_stages')
group_stages = [gs.live_group_stages() for gs in self.last_group_stage_step()] group_stages = [gs.live_group_stages() for gs in self.last_group_stage_step()]
else: else:
first_round = self.first_round() first_round = self.first_round()

Loading…
Cancel
Save