From e75caebc30e161fbfef867f6200591ace51658b2 Mon Sep 17 00:00:00 2001 From: farfalleflickan <6597735+farfalleflickan@users.noreply.github.com> Date: Fri, 4 Nov 2022 12:08:23 +0100 Subject: [PATCH] Fix for issue #3 Really stupid thing... --- src/tvshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tvshow.c b/src/tvshow.c index ed8a333..c41bb0c 100755 --- a/src/tvshow.c +++ b/src/tvshow.c @@ -574,7 +574,7 @@ char *getEpisodeName(progConfig *conf, unsigned int showId, char *seNum, char *e void createShowsHTML(progConfig *conf, fileList *list) { printInfo("createShowsHTML info", true, "building HTML for TV shows...\n"); - if (list==NULL || list->listSize<2) { + if (list==NULL || list->dataSize==0) { fatalError_abort("createShowsHTML error", "list was NULL\n"); } if (checkFolder(conf->TVhtml, true)==-1) {