minor fix
This commit is contained in:
parent
d863712630
commit
b6ff3c3ca6
|
@ -32,7 +32,7 @@ def interceptor(request, response): # A response interceptor takes two args
|
||||||
|
|
||||||
def handleJson(jsonObj):
|
def handleJson(jsonObj):
|
||||||
|
|
||||||
if jsonObj[0] == 'online-level':
|
if 'online-level' in jsonObj:
|
||||||
typ = jsonObj[1]["LevelValues"][0]["Type"]
|
typ = jsonObj[1]["LevelValues"][0]["Type"]
|
||||||
values = jsonObj[1]["LevelValues"][0]["Values"]
|
values = jsonObj[1]["LevelValues"][0]["Values"]
|
||||||
NmtId = jsonObj[1]["NmtId"]
|
NmtId = jsonObj[1]["NmtId"]
|
||||||
|
|
Loading…
Reference in a new issue