From 6d1d5bc8223b5399ea7ad822e2093b789d97223e Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 5 May 2018 13:06:20 -0700 Subject: [PATCH] Check for disabled image hosting --- plexpy/notification_handler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 5010c67e..48dfa39c 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -1098,7 +1098,10 @@ def get_img_info(img=None, rating_key=None, title='', width=1000, height=1500, service = helpers.get_img_service() - if service == 'cloudinary': + if service is None: + return img_info + + elif service == 'cloudinary': if fallback == 'cover': w, h = 1000, 1000 elif fallback == 'art':