mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix for #168
This commit is contained in:
parent
fdec9718aa
commit
2ff46b3b06
1 changed files with 2 additions and 2 deletions
|
@ -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}.*")
|
||||
|
|
Loading…
Reference in a new issue