2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +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:
os.makedirs(os.path.join(path, dirname))
except OSError, e:
if e.errno != os.errno.EEXIST:
if e.errno == os.errno.EEXIST:
pass
setup_logging()