2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

[minor] use os.makedirs in bench.init

This commit is contained in:
Rushabh Mehta 2016-03-15 18:26:09 +05:30
parent e426c00e3a
commit 6b5e5d2d4d

View File

@ -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))