From b0ab2e28cb0daf366a781ce2700952fc818724a3 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 12 Oct 2023 01:43:09 +0800 Subject: [PATCH] Update site_api.py --- class/core/site_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()