diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index e5a2aa79..7200d2ef 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -52,6 +52,8 @@ def patch_epc(patch, epc_records): """ for patch_variable, patch_value in patch.items(): + if patch_value == "": + continue if patch_variable in epc_records["original_epc"]: epc_records["original_epc"][patch_variable] = patch_value diff --git a/etl/customers/immo/pilot/asset_list.py b/etl/customers/immo/pilot/asset_list.py index 57fa5957..6329a2be 100644 --- a/etl/customers/immo/pilot/asset_list.py +++ b/etl/customers/immo/pilot/asset_list.py @@ -46,7 +46,7 @@ patches = [ }, { 'address': '53 Bromley', 'postcode': 'DY5 4PJ', - 'walls-description': 'Cavity wall, partial insulation', + 'walls-description': 'Cavity wall, partial insulation (assumed)', }, ]