mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update files_api.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user