Skip to content

Commit 8247246

Browse files
committed
Fix recursive path creation
1 parent 4fa8330 commit 8247246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visbrain/io/path.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def path_to_visbrain_data(file=None, folder=None):
3030
folder = '' if not isinstance(folder, str) else folder
3131
vb_path = os.path.join(vb_path, folder)
3232
if not os.path.exists(vb_path):
33-
os.mkdir(vb_path)
33+
os.makedirs(vb_path)
3434
logger.info("visbrain_data has been added to %s" % vb_path)
3535
file = '' if not isinstance(file, str) else file
3636
return os.path.join(vb_path, file)

0 commit comments

Comments
 (0)