diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py index b1732e67b..2539230ed 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py @@ -11,4 +11,6 @@ class UpsearchService: locations.append(location) location = os.path.dirname(location) + locations.append("") + return locations diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py index ede25b54b..8398055a2 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py @@ -13,4 +13,5 @@ class TestUpsearchService(BaseTest): "misc/jonjon/generic-data-store-area", "misc/jonjon", "misc", + "", ]