Skip to content

Commit

Permalink
fix error cannot access local variable 'proprietor_dict' (bcgov#2559)
Browse files Browse the repository at this point in the history
Signed-off-by: Hongjing Chen <[email protected]>
  • Loading branch information
chenhongjing authored Apr 2, 2024
1 parent 88d001b commit abc2743
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit abc2743

Please sign in to comment.