adapt scraping code to mainline library version

This commit is contained in:
muskit
2024-02-08 14:33:16 -08:00
parent 6d61814f00
commit f038233125
3 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -26,7 +26,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."""
"""Returns file path relative to the working ephemeral directory "run"."""
dir_path = project_root(("run", *dir_path))
Path(dir_path).mkdir(parents=True, exist_ok=True)