2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 22:31:07 +00:00

fix: always disable maintenance mode after migration

This commit is contained in:
Revant Nandgaonkar 2020-04-29 14:03:28 +05:30
parent e8b9710052
commit 8ac55c86f9

View File

@ -42,8 +42,8 @@ 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)
def main(): def main():