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