avocado.plugins.builtin: Fix plugin loading

上级 ca9fee82
......@@ -24,7 +24,7 @@ log = logging.getLogger("avocado.plugins")
__all__ = ['load_builtins']
Modules = ['avocado.plugins.' + x.rstrip('.py')
Modules = ['avocado.plugins.' + x[:-3]
for x in os.listdir(os.path.dirname(__file__))
if x.endswith('.py')]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册