From e5655008ccb01b930fd49ff821254adc3bd9d875 Mon Sep 17 00:00:00 2001 From: fkrueger Date: Sun, 7 Jan 2024 12:32:00 +0100 Subject: [PATCH] FK: I m new to crystal, ok? I made the error to trust the first official looking crystal (reports) documentation that showed up on google. perl-syntax for elsif definitely is preferrable to the basic BS of else if :-) --- src/invidious/user/imports.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr index 73ca41fe..fcb565dc 100644 --- a/src/invidious/user/imports.cr +++ b/src/invidious/user/imports.cr @@ -76,7 +76,7 @@ struct Invidious::User title = csv_head[6] description = "Playlist was imported from file '#{filename}'\n\nCreated on #{csv_head[8]}\nLast updated on #{csv_head[9]}\n" # TODO i8n visibility = csv_head[11] - else if csv_head[6] + elsif csv_head[6] LOGGER.info("parse_playlist_export_csv: 03.2 raw_head is filled, doing dual csv playlist info scan. google takeout format before october 2023 (roughly).") title = csv_head[4] description = csv_head[5]