more aliasing

This commit is contained in:
Mateusz Konieczny 2022-11-07 10:51:09 +01:00
parent 1de5c51209
commit f1c81b1778

View File

@ -168,6 +168,8 @@ def process_status(status, decision_date):
status = "Approved"
if status in [None, "NOT_MAPPED"]:
status = "Unknown"
if status in ["Lapsed"]:
status = "Withdrawn"
if (status in ["Submitted", "Approved", "Rejected", "Appeal In Progress", "Withdrawn", "Unknown"]):
return status
print("Unexpected status " + status)