Skip to content

Commit b713387

Browse files
authored
Update assets.py --> force check for parent dir (#230)
Update assets.py - mkdir was failing in 0.5.0rc1; attempt to fix
1 parent c822ffa commit b713387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cebra/data/assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def download_file_with_progress_bar(url: str,
9393
)
9494

9595
# Create the directory and any necessary parent directories
96-
location_path.mkdir(exist_ok=True)
96+
location_path.mkdir(parents=True, exist_ok=True)
9797

9898
filename = filename_match.group(1)
9999
file_path = location_path / filename

0 commit comments

Comments
 (0)