Update system_api.py

pull/109/head
Mr Chen 7 years ago
parent cb313a9ef2
commit 88d0e0fa14
  1. 3
      class/core/system_api.py

@ -595,6 +595,9 @@ class system_api:
public.execShell( public.execShell(
'unzip -o mdserver-web.zip -d ' + os.getcwd() + '/') 'unzip -o mdserver-web.zip -d ' + os.getcwd() + '/')
public.execShell('rm - rf mdserver - web.zip')
public.execShell('restart.sh')
print v_new_info print v_new_info
return public.returnJson(False, '已经是最新,无需更新!') return public.returnJson(False, '已经是最新,无需更新!')

Loading…
Cancel
Save