Update file.py
This commit is contained in:
parent
ad5fc52d66
commit
409b1fa00d
|
|
@ -175,7 +175,7 @@ def uncompress(sfile, dfile, path):
|
|||
cmd += "&& 7z x " + sfile + " -r -o" + dfile + " > " + tmps + " 2>&1 &"
|
||||
mw.execShell(cmd)
|
||||
elif extension == 'xz':
|
||||
cmd += "&& tar -xvJf " + sfile + " -r -o" + dfile + " > " + tmps + " 2>&1 &"
|
||||
cmd += "&& tar -Jxvf " + sfile + " -r -o" + dfile + " > " + tmps + " 2>&1 &"
|
||||
mw.execShell(cmd)
|
||||
|
||||
if os.path.exists(dfile):
|
||||
|
|
|
|||
Loading…
Reference in New Issue