From b546a39f29a55882985773a38080fdb5028af3d5 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 6 Jan 2023 20:32:12 +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 e87678595..784a555c6 100755 --- a/plugins/webstats/index.py +++ b/plugins/webstats/index.py @@ -427,7 +427,7 @@ def setSiteConf(): 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, '设置成功')