Skip to content

Commit

Permalink
directories are now properly created
Browse files Browse the repository at this point in the history
  • Loading branch information
soldni committed Feb 2, 2017
1 parent 64ba8e3 commit 2f86356
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ def driver(opts):
msg = ('Directory "{}" does not exists; should I create it? [y/N] '
''.format(opts.destination_path))
create = input(msg).lower().strip() == 'y'

if create:
os.mkdir(opts.destination_path)
os.makedirs(opts.destination_path)
else:
print('Aborting.')
exit(1)
Expand Down

0 comments on commit 2f86356

Please sign in to comment.