From 845cf7969148e8fdafa73e97466f628e990e0406 Mon Sep 17 00:00:00 2001 From: Jens Behley Date: Wed, 1 Apr 2026 01:23:14 +0200 Subject: [PATCH] creating directory inside the container in the right place. --- compute_worker/compute_worker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compute_worker/compute_worker.py b/compute_worker/compute_worker.py index 573e72a94..87f320175 100644 --- a/compute_worker/compute_worker.py +++ b/compute_worker/compute_worker.py @@ -884,6 +884,9 @@ def _get_host_path(self, *paths): # Take our list of paths and smash 'em together path = os.path.join(*paths) + # Create if necessary + os.makedirs(path, exist_ok=True) + # pull front of path, which points to the location inside the container path = path[len(BASE_DIR) :] @@ -891,9 +894,6 @@ def _get_host_path(self, *paths): # can be seen properly path = os.path.join(HOST_DIRECTORY, path) - # Create if necessary - os.makedirs(path, exist_ok=True) - return path async def _run_program_directory(self, program_dir, kind):