mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Update artwork.py
This commit is contained in:
parent
38933b9b2d
commit
308ac1a9d6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
return allartworks
|
||||
|
|
Loading…
Reference in a new issue