This commit is contained in:
zandercymatics 2024-01-22 15:30:28 -07:00
parent 59486a922d
commit ec7c224440
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -48,10 +48,8 @@ def parse_row(columns, domain_info: DomainInformation, skip_epp_call=True):
domain = domain_info.domain domain = domain_info.domain
security_email = domain.security_contact_registry_id cached_sec_email = domain.get_security_email(skip_epp_call)
if security_email is None: 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"} invalid_emails = {"registrar@dotgov.gov", "dotgov@cisa.dhs.gov"}
# These are default emails that should not be displayed in the csv report # These are default emails that should not be displayed in the csv report