From 7922ba15ce802ff2e061f067babb4e8b22833c3a Mon Sep 17 00:00:00 2001 From: dami Date: Sun, 14 Sep 2025 15:02:43 +0800 Subject: [PATCH] Update file.py --- web/utils/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/utils/file.py b/web/utils/file.py index 62c73da5c..694301892 100644 --- a/web/utils/file.py +++ b/web/utils/file.py @@ -309,7 +309,7 @@ def zip(sfile, dfile, stype, path): elif stype == 'tar_gz': mw.execShell("cd '" + path + "' && tar -zcvf '" + dfile + "' " + sfile + " > " + tmps + " 2>&1") elif stype == 'xz': - cmd = "cd '" + path + "' && tar -cvf '" + dfile + ".tar' " + sfile + " && xz -z '" + dfile + "' >" + tmps + " 2>&1" + cmd = "cd '" + path + "' && tar -cvf '" + dfile + ".tar' " + sfile + " && xz -z '" + dfile + "' > " + tmps + " 2>&1" mw.execShell(cmd) elif stype == 'rar': if not mw.checkBinExist('rar'):