fixed override bug

This commit is contained in:
Khalim Conn-Kowlessar 2024-04-12 16:31:11 +01:00
parent 14a1f35fb1
commit 94f9979f56

View file

@ -79,7 +79,7 @@ class Property:
# of the non-invasive surveys. We reflect that this has been installed in the recommendations, but remove the
# cost and instead, provide a message that the measure has already been installed
self.override = ast.literal_eval(override['overrides']) if override is not None else []
self.override = ast.literal_eval(override['overrides']) if override else []
self.uprn = epc_record.get("uprn")
self.full_sap_epc = epc_record.get("full_sap_epc")