diff --git a/src/util.py b/src/util.py index 7a0fdf4..f06bc9c 100644 --- a/src/util.py +++ b/src/util.py @@ -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: