From abc274397627f6542f7821c4d276492b01c36c21 Mon Sep 17 00:00:00 2001 From: Hongjing <60866283+chenhongjing@users.noreply.github.com> Date: Tue, 2 Apr 2024 09:08:25 -0700 Subject: [PATCH] fix error cannot access local variable 'proprietor_dict' (#2559) Signed-off-by: Hongjing Chen --- .../src/entity_filer/filing_processors/registration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/queue_services/entity-filer/src/entity_filer/filing_processors/registration.py b/queue_services/entity-filer/src/entity_filer/filing_processors/registration.py index 03b7589fea..6a2796394d 100644 --- a/queue_services/entity-filer/src/entity_filer/filing_processors/registration.py +++ b/queue_services/entity-filer/src/entity_filer/filing_processors/registration.py @@ -218,6 +218,7 @@ def merge_sp_registration(registration_num: str, filing: Dict, filing_rec: Filin # Find the Proprietor proprietor = None + proprietor_dict = None for party in parties_dict: for role in party.get("roles"): if role.get("roleType") == "Proprietor":