Skip to content

Commit 065f322

Browse files
author
Santiago Silva
committed
fix: directory creation on pulling data
1 parent ad70dd3 commit 065f322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc/fs/dvc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def _get( # noqa: C901, PLR0912
571571

572572
os.makedirs(lpath, exist_ok=True)
573573
for d in _dirs:
574-
os.mkdir(d)
574+
os.mkdir(d, exist_ok=True)
575575

576576
def get_file(arg: tuple[FileSystem, tuple[str, str, Optional[dict]]]):
577577
fs, (src, dest, info) = arg

0 commit comments

Comments
 (0)