mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:49:26 +08:00
Update system_api.py
This commit is contained in:
@@ -593,7 +593,8 @@ class system_api:
|
||||
public.downloadFile(
|
||||
v_new_info['path'], 'mdserver-web.zip')
|
||||
|
||||
public.execShell('unzip -o panel.zip -d ' + './')
|
||||
public.execShell(
|
||||
'unzip -o mdserver-web.zip -d ' + os.getcwd() + '/')
|
||||
print v_new_info
|
||||
|
||||
return public.returnJson(False, '已经是最新,无需更新!')
|
||||
|
||||
Reference in New Issue
Block a user