Fix linting error

This commit is contained in:
Neil Martinsen-Burrell 2023-01-30 11:15:15 -06:00
parent e086fcd9a2
commit 78fb98bf56
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184

View file

@ -501,9 +501,10 @@ class DomainApplication(TimeStampedModel):
if user_choice == DomainApplication.OrganizationChoices.TRIBAL: if user_choice == DomainApplication.OrganizationChoices.TRIBAL:
# did answer tribal, check the recognition answers # did answer tribal, check the recognition answers
return ( return (
self.federally_recognized_tribe == False self.federally_recognized_tribe is False
and self.state_recognized_tribe == False and self.state_recognized_tribe is False
) )
return False
def show_organization_election(self) -> bool: def show_organization_election(self) -> bool:
"""Show this step if the answer to the first question implies it. """Show this step if the answer to the first question implies it.