Selaa lähdekoodia

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

version-14
shreyas 8 vuotta sitten
vanhempi
commit
5a7eb23190
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +3
    -1
      frappe/commands/site.py

+ 3
- 1
frappe/commands/site.py Näytä tiedosto

@@ -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')


Ladataan…
Peruuta
Tallenna