mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 15:25:09 +00:00
fix: always disable maintenance mode after migration
This commit is contained in:
parent
e8b9710052
commit
8ac55c86f9
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ def migrate_sites(maintenance_mode=False):
|
||||||
finally:
|
finally:
|
||||||
frappe.destroy()
|
frappe.destroy()
|
||||||
|
|
||||||
if maintenance_mode:
|
# Disable maintenance mode after migration
|
||||||
set_maintenance_mode(False)
|
set_maintenance_mode(False)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue