Update system_api.py

This commit is contained in:
midoks 2020-07-15 12:34:48 +08:00
parent 08ef87c77e
commit 571d2056fb
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +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.restartMw()
self.restartApi()
return mw.returnJson(True, '安装更新成功!')
return mw.returnJson(False, '已经是最新,无需更新!')