diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 6bfda30..f08137e 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -1984,12 +1984,11 @@ class Tournament(BaseModel): sorted_days = sorted(list(days)) # Create match groups for the selected day match_groups = [] - print(days) if all: today = timezone.now().date() - if today not in days: - selected_day = sorted_days[0] if sorted_days else None + if today in days: + selected_day = today else: # Default to first day if today is not in the list if self.has_ended():