From 352cc96d814b1bf52e28a08d6f86fddea004f3a7 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:50:30 -0600 Subject: [PATCH] Bug fix --- 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 43e1c7edc..bf31f401d 100644 --- a/src/registrar/utility/csv_export.py +++ b/src/registrar/utility/csv_export.py @@ -922,7 +922,7 @@ class DomainRequestExport: # Handle the additional details field. Pipe sep. cisa_rep = request.get("cisa_representative_email") details = [cisa_rep, request.get("anything_else")] - additional_details = " | ".join([field for field in details if field is not None]) + additional_details = " | ".join([field for field in details if field]) # create a dictionary of fields which can be included in output. # "extra_fields" are precomputed fields (generated in the DB or parsed).