Skip to content

Commit

Permalink
bugfix in summary dict
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed Sep 4, 2024
1 parent 703da5a commit 0bca0d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reoptjl/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,8 @@ def queryset_for_summary(api_metas,summary_dict:dict):
'meta__run_uuid',
'size_ton'
)
if len(ashpSpaceHeater) > 0:
for m in ashpSpaceHeater:
if len(ashpWaterHeater) > 0:
for m in ashpWaterHeater:
summary_dict[str(m.meta.run_uuid)]['ASHPWater_heater_ton'] = m.size_ton

return summary_dict
Expand Down

0 comments on commit 0bca0d2

Please sign in to comment.