From 1b3189b74ece2910ec8939e238c52f4bda987f1e Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 15 Jul 2020 12:38:32 +0800 Subject: [PATCH] Update system_api.py --- class/core/system_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/class/core/system_api.py b/class/core/system_api.py index 24761fad5..f93e7ca9f 100755 --- a/class/core/system_api.py +++ b/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: