diff --git a/etl/scis_invoice.py b/etl/scis_invoice.py index 0af6e9a..fc9d481 100644 --- a/etl/scis_invoice.py +++ b/etl/scis_invoice.py @@ -25,7 +25,8 @@ def main(): for survey in list_of_surveys: if survey.pre_site_note: - if survey.pre_site_note.property_description.main_property.wall.insulation.lower() == 'as built' and survey.pre_site_note.property_description.main_property.wall.construction.lower() == "cavity wall": + if survey.pre_site_note.property_description.main_property.wall.insulation.lower() == 'as built' \ + and survey.pre_site_note.property_description.main_property.wall.construction.lower() == "cavity wall": if survey.csr: data["Price"].append(500) data["Type of Work"].append("REMIDIAL CWI ONLY")