This commit is contained in:
jxxghp
2023-11-03 07:28:34 +08:00
parent a4b7ca824e
commit 3e031c6191
2 changed files with 14 additions and 12 deletions

View File

@ -18,7 +18,6 @@ class ModuleHelper:
"""
submodules: list = []
importlib.invalidate_caches()
packages = importlib.import_module(package_path)
for importer, package_name, _ in pkgutil.iter_modules(packages.__path__):
try: