提交 5a9d3941 编写于 作者: S Steffy-zxf 提交者: wuzewu

Modify the command install (#13)

Modify the command install
上级 e049f6d6
......@@ -80,9 +80,13 @@ class LocalModuleManager(object):
url=url,
save_path=hub.CACHE_HOME,
save_name=module_name,
replace=True)
replace=True,
print_progress=True)
result, tips, module_dir = default_downloader.uncompress(
file=module_zip_file, dirname=MODULE_HOME, delete_file=True)
file=module_zip_file,
dirname=MODULE_HOME,
delete_file=True,
print_progress=True)
save_path = os.path.join(MODULE_HOME, module_name)
shutil.move(module_dir, save_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册