fixed patching of partial cwi description

This commit is contained in:
Khalim Conn-Kowlessar 2024-04-16 11:50:02 +01:00
parent b3e7675488
commit 0c1fb0360f
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -46,7 +46,7 @@ patches = [
},
{
'address': '53 Bromley', 'postcode': 'DY5 4PJ',
'walls-description': 'Cavity wall, partial insulation',
'walls-description': 'Cavity wall, partial insulation (assumed)',
},
]