fix bug
This commit is contained in:
@ -18,8 +18,8 @@ class ModuleHelper:
|
||||
"""
|
||||
|
||||
submodules: list = []
|
||||
importlib.invalidate_caches()
|
||||
packages = importlib.import_module(package_path)
|
||||
importlib.reload(packages)
|
||||
for importer, package_name, _ in pkgutil.iter_modules(packages.__path__):
|
||||
try:
|
||||
if package_name.startswith('_'):
|
||||
|
Reference in New Issue
Block a user