From 1fce51c10421e858e2a3af4c883bb127f1ea7459 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 14 Sep 2022 12:23:55 +0200 Subject: [PATCH] stop treating unexpected status as error --- etl/planning_data/load_into_database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etl/planning_data/load_into_database.py b/etl/planning_data/load_into_database.py index 2ef1a68f..98f87df8 100644 --- a/etl/planning_data/load_into_database.py +++ b/etl/planning_data/load_into_database.py @@ -66,7 +66,8 @@ def main(): if status == "Appeal Received": status = "Appeal In Progress" if (status not in ["Approved", "Rejected", "Appeal In Progress", "Withdrawn", "Unknown"]): - raise Exception("Unexpected status " + status) + print("Unexpected status " + status) + #raise Exception("Unexpected status " + status) if uprn == None: continue entry = {