瀏覽代碼

[Fix] Prevent site creation failure in case installing.lock is not found

version-14
shreyas 8 年之前
父節點
當前提交
5a7eb23190
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      frappe/commands/site.py

+ 3
- 1
frappe/commands/site.py 查看文件

@@ -66,7 +66,9 @@ def _new_site(db_name, site, mariadb_root_username=None, mariadb_root_password=N
print "*** Scheduler is", scheduler_status, "***"

finally:
os.remove(installing)
if os.path.exists(installing):
os.remove(installing)

frappe.destroy()

@click.command('restore')


Loading…
取消
儲存