minor fix

This commit is contained in:
Bla 2023-10-12 15:34:18 +00:00
parent d863712630
commit b6ff3c3ca6

View file

@ -32,7 +32,7 @@ def interceptor(request, response): # A response interceptor takes two args
def handleJson(jsonObj):
if jsonObj[0] == 'online-level':
if 'online-level' in jsonObj:
typ = jsonObj[1]["LevelValues"][0]["Type"]
values = jsonObj[1]["LevelValues"][0]["Values"]
NmtId = jsonObj[1]["NmtId"]