From fe373203951184eade6c120d7239f1a4374ad207 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 16 Dec 2022 09:17:56 -0500 Subject: [PATCH] [62] fix asset message --- VERSION | 2 +- modules/plex.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 79a6eb95..5239a93f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.0-develop61 +1.18.0-develop62 diff --git a/modules/plex.py b/modules/plex.py index 900e55d7..8d06b2b7 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -1092,10 +1092,10 @@ class Plex(Library): if "Overlay" not in current_labels: if poster or background: self.upload_images(item, poster=poster, background=background) - elif self.show_missing_assets and self.asset_folders: - logger.warning(f"Asset Warning: No poster or background found in the assets folder '{item_dir}'") elif self.show_missing_assets: - logger.warning(f"Asset Warning: {name} has an Overlay and will be updated when overlays are run") + logger.warning(f"Asset Warning: No poster or background found in the assets folder '{item_dir}'") + else: + logger.warning(f"Asset Warning: {name} has an Overlay and will be updated when overlays are run") except Failed as e: if self.show_missing_assets: logger.warning(e)