From c32abf7da8323acd6efd314b51530641205ba994 Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 18 Jul 2024 16:14:03 +0200 Subject: [PATCH] Remove unnecessary test to show scores --- tournaments/models/match.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 8a9e780..3419966 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -288,8 +288,7 @@ class LiveMatch: return True def should_show_scores(self): - if self.started: - for team in self.teams: - if len(team.scores) > 0: - return True + for team in self.teams: + if len(team.scores) > 0: + return True return False