mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Catch keyerror
If advancedsettings.xml modifies the webserver, it seems to cause errors in jsonrpc and will return invalid params. Bug in Kodi?
This commit is contained in:
parent
800d5bd4d4
commit
48f20295aa
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Artwork():
|
|||
result = json.loads(result)
|
||||
try:
|
||||
self.xbmc_port = result['result']['value']
|
||||
except TypeError:
|
||||
except (TypeError, KeyError):
|
||||
pass
|
||||
|
||||
web_user = {
|
||||
|
|
Loading…
Reference in a new issue