mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
[minor] use os.makedirs in bench.init
This commit is contained in:
parent
e426c00e3a
commit
6b5e5d2d4d
@ -58,7 +58,7 @@ def init(path, apps_path=None, no_procfile=False, no_backups=False,
|
||||
raise Exception("Site directory already exists")
|
||||
# sys.exit(1)
|
||||
|
||||
os.mkdir(path)
|
||||
os.makedirs(path)
|
||||
for dirname in folders_in_bench:
|
||||
os.mkdir(os.path.join(path, dirname))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user