From 9dcf03f5cc3580d34a7f0feb0cb25ca25c5162d3 Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Wed, 22 May 2024 17:12:28 -0600
Subject: [PATCH] didn't need this change

---
 .../workspaces/workflow/services/workflow_service.py           | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/shared/workspaces/workspaces/workflow/services/workflow_service.py b/shared/workspaces/workspaces/workflow/services/workflow_service.py
index db5fe5802..c2658874d 100644
--- a/shared/workspaces/workspaces/workflow/services/workflow_service.py
+++ b/shared/workspaces/workspaces/workflow/services/workflow_service.py
@@ -422,8 +422,7 @@ class WorkflowService(WorkflowServiceIF):
 
         # Remove the results
         logger.info(f"Removing contents at {workflow_request.results_dir}")
-        if Path(workflow_request.results_dir).exists():
-            shutil.rmtree(workflow_request.results_dir)
+        shutil.rmtree(workflow_request.results_dir)
 
     def _make_temp_directory(self, request: WorkflowRequest) -> Path:
         """
-- 
GitLab