Update artwork.py if webserver is disabled.

This commit is contained in:
angelblue05 2016-04-13 06:00:50 -05:00
parent d95d854f70
commit 38933b9b2d

View file

@ -78,7 +78,7 @@ class Artwork():
result = json.loads(result) result = json.loads(result)
try: try:
xbmc_webserver_enabled = result['result']['value'] xbmc_webserver_enabled = result['result']['value']
except TypeError: except KeyError, TypeError:
xbmc_webserver_enabled = False xbmc_webserver_enabled = False
if not xbmc_webserver_enabled: if not xbmc_webserver_enabled: