mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +02:00
Fix typo
This commit is contained in:
parent
7c8d7d293c
commit
20067eec69
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
# We convert to a string because the enum types are different.
|
||||||
generic_org_type = str(instance.generic_org_type)
|
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
|
# Election board should always be reset to None if the record
|
||||||
# can't have one. For example, federal.
|
# can't have one. For example, federal.
|
||||||
instance.is_election_board = None
|
instance.is_election_board = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue