From b6ff3c3ca646731b74e8e1ca70c8f0228b0c3318 Mon Sep 17 00:00:00 2001 From: Bla Date: Thu, 12 Oct 2023 15:34:18 +0000 Subject: [PATCH] minor fix --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 25cf45d..33aae91 100644 --- a/server.py +++ b/server.py @@ -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"]