mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 03:30:50 +02:00
Update csv_export.py
This commit is contained in:
parent
3e91f9790c
commit
3efd81130d
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ def export_domains_to_writer(writer, columns, sort_fields, filter_condition):
|
|||
security_email = security_contacts[0].email
|
||||
|
||||
# These are default emails that should not be displayed in the csv report
|
||||
disallowed_emails = ["registrar@dotgov.gov"]
|
||||
if security_email and security_email.lower() in disallowed_emails:
|
||||
if security_email is not None and security_email.lower() == "registrar@dotgov.gov":
|
||||
security_email = "(blank)"
|
||||
|
||||
# create a dictionary of fields which can be included in output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue