Skip to content

Commit

Permalink
XMAS HOTFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
tesence committed Jan 2, 2024
1 parent b9c533a commit 748dbbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gumo/modules/league.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def get_week_number():
Returns:
int: current week number
"""
return (datetime.now(EASTERN_TZ) + timedelta(days=2, hours=3)).isocalendar().week
# XMAS HOTFIX
week_number = (datetime.now(EASTERN_TZ) + timedelta(days=2, hours=3)).isocalendar().week
return 52 if week_number == 1 else week_number

async def _wrap_query(method, query, *params):
"""Wrap database query execution to log
Expand Down

0 comments on commit 748dbbe

Please sign in to comment.