From a236729e9b594db0f82e5d4a91e7409092c494b2 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sat, 5 Nov 2022 08:34:06 +0100 Subject: [PATCH] treat Allowed as synonym to Approved --- .../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 7ee9ee77..3a70a2f5 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 @@ -161,7 +161,7 @@ def process_status(status, decision_date): status = "Rejected" if status == "Appeal Received": status = "Appeal In Progress" - if status == "Completed": + if status in ["Completed", "Allowed"]: status = "Approved" if status in [None, "NOT_MAPPED"]: status = "Unknown"