From a74ffda29b833361cf22ecd6753d390f25e88642 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Thu, 3 Jun 2021 18:59:29 +0530 Subject: [PATCH] chore: Drop dead code to handle webnotes frappe naming --- frappe/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index bb4e409d61..9d8c5d3607 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -1110,9 +1110,7 @@ def setup_module_map(): if not (local.app_modules and local.module_app): local.module_app, local.app_modules = {}, {} - for app in get_all_apps(True): - if app == "webnotes": - app = "frappe" + for app in get_all_apps(with_internal_apps=True): local.app_modules.setdefault(app, []) for module in get_module_list(app): module = scrub(module)