Skip to content

Commit 564920c

Browse files
committed
Fixed artifact dir.
1 parent 94965b5 commit 564920c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/model/artifact_downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def download(self):
6363
"Set `force_overwrite` to `True` if you wish to overwrite."
6464
)
6565
shutil.rmtree(self.target_dir)
66-
os.mkdir(self.target_dir)
66+
os.makedirs(self.target_dir, exist_ok=True)
6767
with utils.get_progress_bar(
6868
ArtifactDownloader.PROGRESS_STEPS_COUNT + self.PROGRESS_STEPS_COUNT
6969
) as progress:

0 commit comments

Comments
 (0)