Skip to content

Commit c2e1008

Browse files
fix: change cache_dir type (Path)
1 parent d2fba29 commit c2e1008

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ontograph/downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __init__(self, cache_dir: Path) -> None:
127127
Args:
128128
cache_dir: Directory to store downloaded files
129129
"""
130-
self._cache_dir = cache_dir
130+
self._cache_dir = Path(cache_dir)
131131
self._resources_paths: dict[str, Path] = {}
132132
self._cache_dir.mkdir(parents=True, exist_ok=True)
133133

0 commit comments

Comments
 (0)