Update system_api.py

pull/109/head
midoks 5 years ago
parent e7416256da
commit 1b3189b74e
  1. 3
      class/core/system_api.py

@ -676,8 +676,7 @@ class system_api:
mw.execShell('unzip -o ' + toPath + '/mw.zip' + ' -d ./')
mw.execShell('unzip -o mw.zip -d ./')
mw.execShell('rm -f mw.zip')
self.restartApi()
return mw.returnJson(True, '安装更新成功!')
return mw.returnJson(True, '安装更新成功,需自己重启!')
return mw.returnJson(False, '已经是最新,无需更新!')
except Exception as ex:

Loading…
Cancel
Save