Update files_api.py

This commit is contained in:
midoks
2023-09-15 00:08:13 +08:00
parent abc6e8f597
commit fe4c95276d
+2 -2
View File
@@ -858,8 +858,8 @@ class files_api:
" -C " + dfile + " > " + tmps + " 2>&1 &"
mw.execShell(cmd)
if extension == 'rar':
cmd = "cd " + path + " && unrar x t.rar " + \
sfile + " " + dfile + " > " + tmps + " 2>&1 &"
cmd = "cd " + path + " && unrar x " + sfile + \
" " + dfile + " > " + tmps + " 2>&1 &"
mw.execShell(cmd)
if os.path.exists(dfile):