Skip to content

Commit

Permalink
Fix reference before assignment on utci heatplot generation (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesramsden-bh authored Sep 10, 2024
2 parents 91e2751 + 9bd55aa commit dd6f485
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def utci_heatmap(epw_file:str,
return_dict["figure"] = base64
else:
fig.savefig(save_path, dpi=150, transparent=True)
return_dict["figure"] = base64
return_dict["figure"] = save_path

with open(return_file, "w") as rtn:
rtn.write(json.dumps(return_dict, default=str))
Expand Down

0 comments on commit dd6f485

Please sign in to comment.