Fix for issue #3

Really stupid thing...
This commit is contained in:
farfalleflickan 2022-11-04 12:08:23 +01:00
parent e88d8972e2
commit e75caebc30
No known key found for this signature in database
GPG Key ID: 6506CE3E020FAF59

View File

@ -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) {