From d67abd4cc8f25267da8f684b6858b2c56b98b432 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sat, 5 Nov 2022 08:34:35 +0100 Subject: [PATCH] treat Dismissed as synonym to Refused --- .../obtain_livestream_data_and_load_into_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/planning_data/obtain_livestream_data_and_load_into_database.py b/etl/planning_data/obtain_livestream_data_and_load_into_database.py index 3a70a2f5..bee06319 100644 --- a/etl/planning_data/obtain_livestream_data_and_load_into_database.py +++ b/etl/planning_data/obtain_livestream_data_and_load_into_database.py @@ -157,7 +157,7 @@ def process_status(status, decision_date): if status in ["Application Under Consideration", "Application Received"]: if decision_date == None: status = "Submitted" - if status in ["Refused", "Refusal", "Refusal (P)", "Application Invalid", "Insufficient Fee"]: + if status in ["Refused", "Refusal", "Refusal (P)", "Application Invalid", "Insufficient Fee", "Dismissed"]: status = "Rejected" if status == "Appeal Received": status = "Appeal In Progress"