From b51d49d598811df1479472059317f4d93727185d Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 24 Nov 2023 09:01:49 +0100 Subject: [PATCH] correct persistence json read --- hub/persistence/db_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/persistence/db_control.py b/hub/persistence/db_control.py index 259b9dcf..4ac5f95a 100644 --- a/hub/persistence/db_control.py +++ b/hub/persistence/db_control.py @@ -144,7 +144,7 @@ class DBControl: result_names) for value in _: - values = json.loads(value.values) + values = value.values values["building"] = building_name results[scenario_name].append(values) return results