From 2ff46b3b061a31141be9b19c80d782920147cd72 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 30 Apr 2021 12:11:48 -0400 Subject: [PATCH] fix for #168 --- modules/builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/builder.py b/modules/builder.py index dc92651c..63aaf227 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1218,9 +1218,9 @@ class CollectionBuilder: else: logger.error("Collection Error: name_mapping attribute is blank") for ad in self.library.asset_directory: path = os.path.join(ad, f"{name_mapping}") - if not os.path.isdir(path): - continue if self.library.asset_folders: + if not os.path.isdir(path): + continue poster_path = os.path.join(ad, f"{name_mapping}", "poster.*") else: poster_path = os.path.join(ad, f"{name_mapping}.*")