Fix AttributeError

This commit is contained in:
croneter 2018-10-25 18:29:47 +02:00
parent 60f7d0fce2
commit 8f86fc1038

View file

@ -633,6 +633,8 @@ class API(object):
""" """
Convert studio for Kodi to properly detect them Convert studio for Kodi to properly detect them
""" """
if not studio_name:
return
studios = { studios = {
'abc (us)': "ABC", 'abc (us)': "ABC",
'fox (us)': "FOX", 'fox (us)': "FOX",