Update system_api.py

This commit is contained in:
Mr Chen 2018-12-03 18:03:28 +08:00
parent a2aa21d5e6
commit a77256a789
1 changed files with 2 additions and 1 deletions

View File

@ -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, '已经是最新,无需更新!')