correct persistence json read
This commit is contained in:
parent
802641b4a3
commit
b51d49d598
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user