From bfe8720f0963427120eae0219eb753e923af389c Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 14 Sep 2022 12:26:06 +0200 Subject: [PATCH] explicitly skip more confusing statuses --- etl/planning_data/load_into_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/planning_data/load_into_database.py b/etl/planning_data/load_into_database.py index e7acc21b..bacfa544 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", "Closed"]: + if status in ["No Objection to Proposal (OBS only)", "Objection Raised to Proposal (OBS only)", "Not Required", None, "Lapsed", "SECS", "Comment Issued", "ALL DECISIONS ISSUED", "Closed", "Declined to Determine"]: continue if status in []: opts = jsbeautifier.default_options()