Browse Source

Merge pull request #2120 from shreyasp/site-install-locks

[Fix] Prevent site creation failure in case installing.lock is not found
version-14
Nabin Hait 8 years ago
committed by GitHub
parent
commit
1a8b31db6b
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