Skip to content

Commit 7f43497

Browse files
authored
Fixed artifact dir (#521)
2 parents ee0633b + 564920c commit 7f43497

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)