This commit is contained in:
yumoqing 2023-08-07 17:25:16 +08:00
parent b59cb41523
commit eef568c695

View File

@ -17,7 +17,7 @@ def load_plugins(p_dir):
for m in listFile(pdir, suffixs='.py'):
if m.endswith('__init__.py'):
continue
print('module=', module)
module = os.path.basename(m[:-3])
print('module=', module)
__import__(module, locals(), globals())