stop treating unexpected status as error

This commit is contained in:
Mateusz Konieczny 2022-09-14 12:23:55 +02:00
parent 9c19ad24ba
commit 1fce51c104

View File

@ -66,7 +66,8 @@ def main():
if status == "Appeal Received": if status == "Appeal Received":
status = "Appeal In Progress" status = "Appeal In Progress"
if (status not in ["Approved", "Rejected", "Appeal In Progress", "Withdrawn", "Unknown"]): 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: if uprn == None:
continue continue
entry = { entry = {