clubs
Laurent 1 year ago
parent 713b0d890d
commit ad974801fe
  1. 3
      tournaments/models/match.py

@ -149,7 +149,10 @@ class Match(models.Model):
livematch = LiveMatch(title, date, duration, court, self.started(), ended) livematch = LiveMatch(title, date, duration, court, self.started(), ended)
for team_score in self.sorted_team_scores(): for team_score in self.sorted_team_scores():
if team_score.team_registration.logo:
image = team_score.team_registration.logo image = team_score.team_registration.logo
else:
image = None
names = team_score.team_names() names = team_score.team_names()
scores = team_score.scores_array() scores = team_score.scores_array()
weight = team_score.team_registration.weight weight = team_score.team_registration.weight

Loading…
Cancel
Save