From 308ac1a9d63abb781c8a854d91d57e3435234174 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 13 Apr 2016 19:37:02 -0500 Subject: [PATCH] Update artwork.py --- resources/lib/artwork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/artwork.py b/resources/lib/artwork.py index a2ba2330..9885829c 100644 --- a/resources/lib/artwork.py +++ b/resources/lib/artwork.py @@ -78,7 +78,7 @@ class Artwork(): result = json.loads(result) try: xbmc_webserver_enabled = result['result']['value'] - except KeyError, TypeError: + except (KeyError, TypeError): xbmc_webserver_enabled = False if not xbmc_webserver_enabled: @@ -601,4 +601,4 @@ class Artwork(): % (self.server, parentId, maxWidth, maxHeight, parentTag, customquery)) allartworks['Primary'] = artwork - return allartworks \ No newline at end of file + return allartworks