explicitly skip more confusing statuses

This commit is contained in:
Mateusz Konieczny 2022-09-14 12:26:06 +02:00
parent 71b67d9890
commit bfe8720f09

View File

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