fix: always disable maintenance mode after migration
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user