From f48e1f8689ff661ecde9119e96f0f6302c198f0a Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:59:15 -0600 Subject: [PATCH] Update csv_export.py --- src/registrar/utility/csv_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/utility/csv_export.py b/src/registrar/utility/csv_export.py index e8b457d37..4593d74d8 100644 --- a/src/registrar/utility/csv_export.py +++ b/src/registrar/utility/csv_export.py @@ -799,7 +799,7 @@ class DomainRequestExport: "Other contacts": extra_fields.get("all_other_contacts"), "Current websites": extra_fields.get("all_current_websites"), # Normal fields - "Federal agency": request.federal_agency.agency, + "Federal agency": request.federal_agency.agency if request.federal_agency else None, "AO first name": request.authorizing_official.first_name, "AO last name": request.authorizing_official.last_name, "AO email": request.authorizing_official.email,