chore: Drop dead code to handle webnotes frappe naming

This commit is contained in:
Gavin D'souza 2021-06-03 18:59:29 +05:30
parent 0d8aeba3ee
commit a74ffda29b

View file

@ -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)