提交 a253ecaa 编写于 作者: W wuzewu

fix decompress bug

上级 e7e31d3e
......@@ -108,7 +108,7 @@ class Downloader(object):
with tarfile.open(file, 'r:*') as tar:
file_names = tar.getnames()
size = len(file_names) - 1
size = len(file_names)
module_dir = os.path.join(dirname, file_names[0])
for index, file_name in enumerate(file_names):
if print_progress:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册