Просмотр исходного кода

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

version-14
shreyas 8 лет назад
Родитель
Сommit
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')


Загрузка…
Отмена
Сохранить