提交 80225965 编写于 作者: Z zhangxuefei

Inform user that the input module isn't existed when one uses the command show...

Inform user that the input module isn't existed when one uses the command show to list a module that is not located in the computer.
上级 4a181c3a
......@@ -127,6 +127,7 @@ class ShowCommand(BaseCommand):
module_dir = os.path.join(cwd,
module_name) if not module_dir else module_dir
if not module_dir or not os.path.exists(module_dir):
print("%s is not existed!" % module_name)
return True
self.show_module_info(module_dir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册