From 3af20938cd3dec19fe2a30750bce101fec0db18c Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Wed, 2 Mar 2022 10:00:52 -0600 Subject: [PATCH] Core: Remove Init.py stop file check from inner package loop Check was unused, only stop files located at the top-level should halt loading. --- src/App/FreeCADInit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/App/FreeCADInit.py b/src/App/FreeCADInit.py index 5bbc627b16..685165c97f 100644 --- a/src/App/FreeCADInit.py +++ b/src/App/FreeCADInit.py @@ -235,7 +235,6 @@ def InitApplications(): freecad_module = importlib.import_module(freecad_module_name) extension_modules += [freecad_module_name] if any (module_name == 'init' for _, module_name, ispkg in pkgutil.iter_modules(freecad_module.__path__)): - stopFile = os.path.join(freecad_module.__path__, "ADDON_DISABLED") importlib.import_module(freecad_module_name + '.init') Log('Init: Initializing ' + freecad_module_name + '... done\n') else: