diff --git a/wcivf/apps/ppc_2024/management/commands/import_2024_ppcs.py b/wcivf/apps/ppc_2024/management/commands/import_2024_ppcs.py index 42eb7d6c3..df5c153bd 100644 --- a/wcivf/apps/ppc_2024/management/commands/import_2024_ppcs.py +++ b/wcivf/apps/ppc_2024/management/commands/import_2024_ppcs.py @@ -29,6 +29,8 @@ def clean_party_id(party_id): return party_id if "-" in party_id: + if party_id.startswith("joint-party:"): + return party_id return f"joint-party:{party_id}" return f"PP{party_id}"