2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 17:24:41 +00:00

update file exists

This commit is contained in:
gshmu 2017-08-28 14:02:31 +08:00 committed by lugang
parent 753c739d8b
commit 0285154390

View File

@ -46,7 +46,7 @@ def init(path, apps_path=None, no_procfile=False, no_backups=False,
try: try:
os.makedirs(os.path.join(path, dirname)) os.makedirs(os.path.join(path, dirname))
except OSError, e: except OSError, e:
if e.errno != os.errno.EEXIST: if e.errno == os.errno.EEXIST:
pass pass
setup_logging() setup_logging()