diff --git a/class/core/site_api.py b/class/core/site_api.py index 6cfe19194..015ce5358 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2788,7 +2788,7 @@ location ^~ {from} {\n\ self.saveCert(keyPath, certPath) - msg = mw.getInfo('网站[{}]开启SSL成功!', siteName) + msg = mw.getInfo('网站[{}]开启SSL成功!', (siteName,)) mw.writeLog('网站管理', msg) mw.restartWeb()