Update toolbox.py

This commit is contained in:
binary-husky 2023-09-30 09:56:30 +08:00 committed by GitHub
parent 87ccd1a89a
commit fdffbee1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -472,7 +472,7 @@ def extract_archive(file_path, dest_dir):
print("Successfully extracted rar archive to {}".format(dest_dir))
except:
print("Rar format requires additional dependencies to install")
return '\n\n解压失败! 需要安装pip install rarfile来解压rar文件'
return '\n\n解压失败! 需要安装pip install rarfile来解压rar文件。建议使用zip压缩格式。'
# 第三方库需要预先pip install py7zr
elif file_extension == '.7z':