mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed patching of partial cwi description
This commit is contained in:
parent
b3e7675488
commit
0c1fb0360f
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ patches = [
|
|||
},
|
||||
{
|
||||
'address': '53 Bromley', 'postcode': 'DY5 4PJ',
|
||||
'walls-description': 'Cavity wall, partial insulation',
|
||||
'walls-description': 'Cavity wall, partial insulation (assumed)',
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue