bugfix
This commit is contained in:
parent
0a4806d9b0
commit
b59cb41523
@ -17,5 +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
|
||||||
__import__(m[:-3], locals(), globals())
|
print('module=', module)
|
||||||
|
module = os.path.basename(m[:-3])
|
||||||
|
__import__(module, locals(), globals())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user