diff --git a/src/reports.py b/src/reports.py index d63753c..994aa17 100644 --- a/src/reports.py +++ b/src/reports.py @@ -41,6 +41,10 @@ class Column(IntEnum): SCORE_COLUMN = 8 +# Effectively: [calendar.MONDAY, calendar.TUESDAY, ..., calendar.SUNDAY] +EVERYDAY = list(range(7)) + + @dataclass class WeekColumn: """ @@ -931,7 +935,7 @@ async def refresh_sheet(self) -> None: ], ) - @run_on_weekday(day=[*calendar.Day], hour=6, minute=0) + @run_on_weekday(day=EVERYDAY, hour=6, minute=0) async def regular_refresh(self) -> None: await self.refresh_sheet()