diff --git a/VERSION b/VERSION index b34f45e3..4ddea0f6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.2-develop1 +1.17.2-develop2 diff --git a/modules/overlays.py b/modules/overlays.py index 80a959bb..fc6e9fc2 100644 --- a/modules/overlays.py +++ b/modules/overlays.py @@ -173,7 +173,7 @@ class Overlays: image_response = self.config.get(new_backup) if image_response.status_code >= 400: raise Failed(f"{item_title[:60]:<60} | Overlay Error: Image Download Failed") - if image_response.headers[""] not in ["image/png", "image/jpeg"]: + if image_response.headers["Content-Type"] not in ["image/png", "image/jpeg"]: raise Failed(f"{item_title[:60]:<60} | Overlay Error: Image Not JPG or PNG") i_ext = "jpg" if image_response.headers["Content-Type"] == "image/jpeg" else "png" backup_image_path = os.path.join(self.library.overlay_backup, f"{item.ratingKey}.{i_ext}")