mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 16:02:15 +02:00
Fix bug
This commit is contained in:
parent
59486a922d
commit
ec7c224440
1 changed files with 2 additions and 4 deletions
|
@ -48,10 +48,8 @@ def parse_row(columns, domain_info: DomainInformation, skip_epp_call=True):
|
|||
|
||||
domain = domain_info.domain
|
||||
|
||||
security_email = domain.security_contact_registry_id
|
||||
if security_email is None:
|
||||
cached_sec_email = domain.get_security_email(skip_epp_call)
|
||||
security_email = cached_sec_email if cached_sec_email is not None else " "
|
||||
cached_sec_email = domain.get_security_email(skip_epp_call)
|
||||
security_email = cached_sec_email if cached_sec_email is not None else " "
|
||||
|
||||
invalid_emails = {"registrar@dotgov.gov", "dotgov@cisa.dhs.gov"}
|
||||
# These are default emails that should not be displayed in the csv report
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue