do not rebuild sitemap on add to installed app

This commit is contained in:
Pratik Vyas 2014-05-09 11:11:43 +05:30
parent 6d5d653006
commit 1c19bf95b8

View file

@ -308,7 +308,7 @@ def add_to_installed_apps(*apps):
all_apps = frappe.get_all_apps(with_frappe=True)
for each in apps:
if each in all_apps:
add_to_installed_apps(each)
add_to_installed_apps(each, rebuild_sitemap=False)
frappe.destroy()
@cmd