提交 e4750c8e 编写于 作者: B BinLong

fix bug while run a module in a special path

上级 38200990
...@@ -59,7 +59,7 @@ class RunCommand(BaseCommand): ...@@ -59,7 +59,7 @@ class RunCommand(BaseCommand):
module_dir = default_module_manager.search_module(module_name) module_dir = default_module_manager.search_module(module_name)
if not module_dir: if not module_dir:
if os.path.exists(module_name): if os.path.exists(module_name):
module_dir = module_name module_dir = (module_name, None)
else: else:
print("Install Module %s" % module_name) print("Install Module %s" % module_name)
result, tips, module_dir = default_module_manager.install_module( result, tips, module_dir = default_module_manager.install_module(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册