[minor] fix for in_install

This commit is contained in:
Rushabh Mehta 2017-03-09 18:27:41 +05:30
parent 95e6306cc0
commit 89185c4efe

View file

@ -97,6 +97,7 @@ def get_root_connection(root_login='root', root_password=None):
return frappe.local.flags.root_connection
def install_app(name, verbose=False, set_as_patched=True):
frappe.flags.in_install = name
frappe.clear_cache()
app_hooks = frappe.get_hooks(app_name=name)
installed_apps = frappe.get_installed_apps()