Update system_api.py
This commit is contained in:
parent
08ef87c77e
commit
571d2056fb
|
|
@ -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, '已经是最新,无需更新!')
|
||||
|
|
|
|||
Loading…
Reference in New Issue