Fix KeyError

This commit is contained in:
tomkat83 2017-02-26 18:25:41 +01:00
parent 9c22274842
commit 7276a195bf

View file

@ -99,7 +99,7 @@ def setKodiWebServerDetails():
result = loads(result)
try:
xbmc_username = result['result']['value']
except TypeError:
except (TypeError, KeyError):
pass
web_pass = {
"jsonrpc": "2.0",