This commit is contained in:
zandercymatics 2024-04-02 14:19:04 -06:00
parent 7c8d7d293c
commit 20067eec69
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -108,7 +108,7 @@ def _update_org_type_from_generic_org_and_election(instance, org_map):
# We convert to a string because the enum types are different.
generic_org_type = str(instance.generic_org_type)
if generic_org_type not in generic_org_type:
if generic_org_type not in org_map:
# Election board should always be reset to None if the record
# can't have one. For example, federal.
instance.is_election_board = None