fix subdir handling for working_path

This commit is contained in:
muskit
2024-01-25 16:59:41 -08:00
parent 2534bab5fa
commit ecce333a05
+1 -1
View File
@@ -27,7 +27,7 @@ def project_root(dir_path: tuple[str] = tuple(), file: str = None):
def working_path(dir_path: tuple[str] = tuple(), file: str = None):
"""Returns file path relative to the working ephemeral directory."""
dir_path = project_root("run", *dir_path)
dir_path = project_root(("run", *dir_path))
Path(dir_path).mkdir(parents=True, exist_ok=True)
if file is not None: