diff --git a/etl/planning_data/load_into_database.py b/etl/planning_data/load_into_database.py index a404e2ab..2ef1a68f 100644 --- a/etl/planning_data/load_into_database.py +++ b/etl/planning_data/load_into_database.py @@ -54,7 +54,7 @@ def main(): last_synced_date = parse_date_string_into_datestring(entry['_source']['last_synced']) uprn = entry['_source']['uprn'] status = entry['_source']['status'] - if status in ["No Objection to Proposal (OBS only)", "Not Required", None, "Lapsed", "SECS", "Comment Issued", "ALL DECISIONS ISSUED"]: + if status in ["No Objection to Proposal (OBS only)", "Not Required", None, "Lapsed", "SECS", "Comment Issued", "ALL DECISIONS ISSUED", "Closed"]: continue if status in []: opts = jsbeautifier.default_options()