mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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)
|
result = get_setting_value.execute(web_user)
|
||||||
try:
|
try:
|
||||||
self.xbmc_username = result['result']['value']
|
self.xbmc_username = result['result']['value']
|
||||||
except TypeError:
|
except (TypeError, KeyError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
web_pass = {
|
web_pass = {
|
||||||
|
@ -123,7 +123,7 @@ class Artwork(object):
|
||||||
result = get_setting_value.execute(web_pass)
|
result = get_setting_value.execute(web_pass)
|
||||||
try:
|
try:
|
||||||
self.xbmc_password = result['result']['value']
|
self.xbmc_password = result['result']['value']
|
||||||
except TypeError:
|
except (TypeError, KeyError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def texture_cache_sync(self):
|
def texture_cache_sync(self):
|
||||||
|
|
Loading…
Reference in a new issue