Skip to content

Commit 2f86356

Browse files
committed
directories are now properly created
1 parent 64ba8e3 commit 2f86356

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ def driver(opts):
109109
msg = ('Directory "{}" does not exists; should I create it? [y/N] '
110110
''.format(opts.destination_path))
111111
create = input(msg).lower().strip() == 'y'
112+
112113
if create:
113-
os.mkdir(opts.destination_path)
114+
os.makedirs(opts.destination_path)
114115
else:
115116
print('Aborting.')
116117
exit(1)

0 commit comments

Comments
 (0)