Fix KeyError
This commit is contained in:
parent
9c22274842
commit
7276a195bf
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue