diff --git a/tournaments/models/group_stage.py b/tournaments/models/group_stage.py index 16a4d95..b1a6488 100644 --- a/tournaments/models/group_stage.py +++ b/tournaments/models/group_stage.py @@ -140,7 +140,7 @@ class GroupStage(models.Model): return False def is_completed(self): - return not self.match_set.filter(end_date__isnull=True).exists() + return not self.match_set.filter(end_date__isnull=True).exists() and self.match_set.count() > 0 class LiveGroupStage: def __init__(self, title, step, index):