Skip to content

Commit 1213de2

Browse files
authored
Update task_scheduler.py
1 parent 833db95 commit 1213de2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

executorlib/task_scheduler/file/task_scheduler.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ def __init__(
6161
)
6262
if execute_function == execute_in_subprocess and terminate_function is None:
6363
terminate_function = terminate_subprocess
64-
cache_directory_path = os.path.abspath(cache_directory)
65-
os.makedirs(cache_directory_path, exist_ok=True)
6664
self._process_kwargs = {
6765
"future_queue": self._future_queue,
6866
"execute_function": execute_function,
69-
"cache_directory": cache_directory_path,
67+
"cache_directory": os.path.abspath(cache_directory),
7068
"resource_dict": resource_dict,
7169
"terminate_function": terminate_function,
7270
"pysqa_config_directory": pysqa_config_directory,

0 commit comments

Comments
 (0)