From 09d79c021b03674084e4cc8e26bbb7290d2b68a5 Mon Sep 17 00:00:00 2001 From: Ebru Yucesar Date: Mon, 17 Jun 2024 10:52:48 -0400 Subject: [PATCH] use empty string --- web/main/legal_document_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/main/legal_document_sources.py b/web/main/legal_document_sources.py index fc0a73b42..e1f914b1b 100644 --- a/web/main/legal_document_sources.py +++ b/web/main/legal_document_sources.py @@ -605,7 +605,7 @@ def pull(legal_doc_source, id): cluster["html_info"] = {"source": "court listener"} # https://www.courtlistener.com/help/api/rest/#case-names - case_name = None + case_name = "" if cluster["case_name"]: case_name = cluster["case_name"] elif cluster["case_name_full"]: