From 669bb5e8b62677d26d0982ba74f64c914a395ef6 Mon Sep 17 00:00:00 2001
From: Daniel Nemergut <dnemergu@nrao.edu>
Date: Fri, 27 Oct 2023 14:12:54 -0400
Subject: [PATCH] IngestionManifest wanted a Path or None but curation_source
 was a str so it somehow thought it had a staging_source_dir

---
 .../pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
index 4f29b790d..dcb23d337 100644
--- a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
+++ b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
@@ -282,7 +282,7 @@ class IngestionManifestBuilder:
                 raise NotImplementedError(
                     f"Don't know how to build a {self.curation_type.value} curation {self.sp_type} manifest"
                 )
-            self.curation_source = curate[1]
+            self.curation_source = Path(curate[1]) if curate and curate[1] else None
             self.target_list = curate[2]
 
         if locator is not None:
-- 
GitLab