Browse Source

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

version-14
shreyas 8 years ago
parent
commit
5a7eb23190
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      frappe/commands/site.py

+ 3
- 1
frappe/commands/site.py View File

@@ -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…
Cancel
Save