Update file.py

This commit is contained in:
dami
2026-07-20 23:08:01 +08:00
parent fe13ab1e5f
commit f275eabe1b
+1 -1
View File
@@ -147,7 +147,7 @@ def uncompress(sfile, dfile, path):
if suffix_gz == tar_gz:
extension = suffix_gz
if not extension in ['tar.gz', 'tgz','gz', 'zip', 'rar', '7z', 'xz','bz2']:
if not extension in ['tar.gz', 'tgz', 'gz', 'zip', 'rar', '7z', 'xz','bz2']:
return mw.returnData(False, '现在仅支持gz,zip,rar,7z,xz,bz2格式解压!')
if extension == 'rar' and not mw.checkBinExist('rar'):