From 8f86fc1038a8baac2a49abc76b6225c83b3c470c Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 25 Oct 2018 18:29:47 +0200 Subject: [PATCH] Fix AttributeError --- resources/lib/plex_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/plex_api.py b/resources/lib/plex_api.py index 2c94a40b..bdb0059e 100644 --- a/resources/lib/plex_api.py +++ b/resources/lib/plex_api.py @@ -633,6 +633,8 @@ class API(object): """ Convert studio for Kodi to properly detect them """ + if not studio_name: + return studios = { 'abc (us)': "ABC", 'fox (us)': "FOX",