From 145fa3196b7dae49fc21320ea276532fe04e52c8 Mon Sep 17 00:00:00 2001 From: Valmik Date: Mon, 27 Mar 2017 11:08:54 +0530 Subject: [PATCH] [fix] only show help for installed apps (#2924) --- frappe/utils/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/help.py b/frappe/utils/help.py index cbbdcfe8a8..820da0f5c3 100644 --- a/frappe/utils/help.py +++ b/frappe/utils/help.py @@ -102,7 +102,7 @@ class HelpDatabase(object): def sync_pages(self): self.db.sql('truncate help') doc_contents = '
    ' - for app in os.listdir('../apps'): + for app in frappe.get_installed_apps(): docs_folder = '../apps/{app}/{app}/docs/user'.format(app=app) self.out_base_path = '../apps/{app}/{app}/docs'.format(app=app) if os.path.exists(docs_folder):