bugfix
This commit is contained in:
parent
b59cb41523
commit
eef568c695
@ -17,7 +17,7 @@ def load_plugins(p_dir):
|
|||||||
for m in listFile(pdir, suffixs='.py'):
|
for m in listFile(pdir, suffixs='.py'):
|
||||||
if m.endswith('__init__.py'):
|
if m.endswith('__init__.py'):
|
||||||
continue
|
continue
|
||||||
print('module=', module)
|
|
||||||
module = os.path.basename(m[:-3])
|
module = os.path.basename(m[:-3])
|
||||||
|
print('module=', module)
|
||||||
__import__(module, locals(), globals())
|
__import__(module, locals(), globals())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user