mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Capture keyerror for webserver auth
This commit is contained in:
parent
d01fb0453c
commit
a614ff96cd
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class Artwork(object):
|
|||
result = get_setting_value.execute(web_user)
|
||||
try:
|
||||
self.xbmc_username = result['result']['value']
|
||||
except TypeError:
|
||||
except (TypeError, KeyError):
|
||||
pass
|
||||
|
||||
web_pass = {
|
||||
|
@ -123,7 +123,7 @@ class Artwork(object):
|
|||
result = get_setting_value.execute(web_pass)
|
||||
try:
|
||||
self.xbmc_password = result['result']['value']
|
||||
except TypeError:
|
||||
except (TypeError, KeyError):
|
||||
pass
|
||||
|
||||
def texture_cache_sync(self):
|
||||
|
|
Loading…
Reference in a new issue