From 6a5430d214d60c0075ed0ad6c38655d34c108a1b Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 29 Jan 2024 12:33:33 +0000 Subject: [PATCH] Pulling ventilation from epc_record class --- backend/Property.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Property.py b/backend/Property.py index 82695b75..c9cad22f 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -83,7 +83,7 @@ class Property: "co2_emissions": epc_record.get("co2_emissions_current"), } self.ventilation = { - "ventilation": epc_record.prepared_epc.get("mechanical_ventilation"), + "ventilation": epc_record.get("mechanical_ventilation"), } self.solar_pv = { "solar_pv": epc_record.get("photo_supply"),