From c80318f4426f849259c5db326a7d1a824595a249 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 1 Nov 2023 22:08:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=20py=E4=BF=AE=E6=94=B9=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helper/module.py b/app/helper/module.py index abf40068..3876d0aa 100644 --- a/app/helper/module.py +++ b/app/helper/module.py @@ -19,6 +19,7 @@ class ModuleHelper: submodules: list = [] packages = importlib.import_module(package_path) + importlib.reload(packages) for importer, package_name, _ in pkgutil.iter_modules(packages.__path__): if package_name.startswith('_'): continue