From 0f4bde1b633cbffc93c25a30cecce15534e3dffd Mon Sep 17 00:00:00 2001 From: jzitnik-dev Date: Fri, 6 Feb 2026 20:37:14 +0100 Subject: [PATCH] fix: Make it always 10 nulls long instead of 9 --- scrape/parse/v3.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrape/parse/v3.js b/scrape/parse/v3.js index 83b630a..bbee069 100644 --- a/scrape/parse/v3.js +++ b/scrape/parse/v3.js @@ -167,7 +167,7 @@ function buildLessonArray(row, ignoreAddress) { }); const normalized = Array.from(lessons, (x) => (x === undefined ? null : x)); - while (normalized.length < 10) normalized.push(null); + while (normalized.length < 11) normalized.push(null); return normalized.slice(1, 11); } @@ -298,4 +298,4 @@ function formatNowTime() { ); } -//parseV3("db/current.xlsx") +parseV3("db/current.xlsx")