clubs
Laurent 1 year ago
parent 255d9a0efd
commit cce69da9ee
  1. 3
      tournaments/models/tournament.py

@ -278,7 +278,8 @@ class Tournament(models.Model):
match_groups.append(self.group_stage_match_group(group_stage, broadcasted, hide_empty_matches=False))
elif round_id:
round = self.round_set.filter(id=round_id).first()
match_groups = self.round_match_groups(round, broadcasted, hide_empty_matches=False)
if round:
match_groups = self.round_match_groups(round, broadcasted, hide_empty_matches=False)
else:
match_groups = self.all_groups(broadcasted)

Loading…
Cancel
Save