From 26305a87b9c96ee222582a9c03879a412dcc59b4 Mon Sep 17 00:00:00 2001 From: jan-janssen Date: Fri, 8 Nov 2024 23:10:55 +0100 Subject: [PATCH] windows fix --- executorlib/standalone/cache/spawner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executorlib/standalone/cache/spawner.py b/executorlib/standalone/cache/spawner.py index c60e6622..cfc3c207 100644 --- a/executorlib/standalone/cache/spawner.py +++ b/executorlib/standalone/cache/spawner.py @@ -41,7 +41,7 @@ def execute_in_subprocess( raise ValueError("backend parameter is not supported for subprocess spawner.") if resource_dict is None: resource_dict = {} - if "cwd" in resource_dict and resource_dict["cwd"] is not None: + if "cwd" in resource_dict: cwd = resource_dict["cwd"] else: cwd = cache_directory