correct persistence json read

This commit is contained in:
Guille Gutierrez 2023-11-24 09:01:49 +01:00
parent 802641b4a3
commit b51d49d598

View File

@ -144,7 +144,7 @@ class DBControl:
result_names) result_names)
for value in _: for value in _:
values = json.loads(value.values) values = value.values
values["building"] = building_name values["building"] = building_name
results[scenario_name].append(values) results[scenario_name].append(values)
return results return results