From 81b570214a224dc0af624f296965648e06b99198 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 6 Jan 2023 20:29:26 +0800 Subject: [PATCH] Update index.py --- plugins/webstats/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/webstats/index.py b/plugins/webstats/index.py index b5ff5b4d6..e87678595 100755 --- a/plugins/webstats/index.py +++ b/plugins/webstats/index.py @@ -334,7 +334,7 @@ def setGlobalConf(): mw.writeFile(conf, json.dumps(content)) conf_lua = getServerDir() + "/lua/webstats_config.lua" listToLuaFile(conf_lua, content) - mw.restartWeb() + mw.opWeb('restart') return mw.returnJson(True, '设置成功')