Skip to content

Commit 64638ab

Browse files
add lb fix in day counts
1 parent d932f37 commit 64638ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/exts/advent_of_code/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _parse_raw_leaderboard_data(raw_leaderboard_data: dict) -> dict:
158158

159159
# Create summary stats for the stars completed for each day of the event.
160160
daily_stats = {}
161-
for day in range(1, 26):
161+
for day in range(1, DAYS_THIS_YEAR + 1):
162162
day = str(day)
163163
star_one = len(star_results.get((day, "1"), []))
164164
star_two = len(star_results.get((day, "2"), []))

0 commit comments

Comments
 (0)