Skip to content

Commit

Permalink
XMAS HOTFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
tesence committed Dec 31, 2023
1 parent a9e1e2c commit 924fe4a
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 @@ -123,11 +123,13 @@ async def week_refresh(self):
if not datetime.now(EASTERN_TZ).weekday() == 4:
return

week_number = get_week_number()

# XMAS HOTFIX
if week_number == 1:
return

week_number = get_week_number() - 1
week_number -= 1
runners = await self._get_runners()
submissions = await self._get_submissions(week_number)
missing_runners = set(runners) ^ set(submissions)
Expand Down

0 comments on commit 924fe4a

Please sign in to comment.