fix prog display

sync_v2
Raz 6 months ago
parent 9be9c2d037
commit 3ce4c16ec3
  1. 2
      tournaments/models/tournament.py

@ -1984,11 +1984,9 @@ class Tournament(BaseModel):
sorted_days = sorted(list(days))
# Create match groups for the selected day
match_groups = []
print('sorted_days', sorted_days)
if all or day is None:
today = timezone.now().replace(hour=0, minute=0, second=0, microsecond=0).date()
print('today', today)
if today in days:
selected_day = today
else:

Loading…
Cancel
Save