From dc9d114ca47aee24183fad8bf9f550abbbddd63e Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 24 Nov 2024 17:46:23 +0800 Subject: [PATCH] Update site.py --- web/utils/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/utils/site.py b/web/utils/site.py index e7c0f8e36..f40739d2c 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -1440,7 +1440,7 @@ location ^~ {from} {\n\ conf_file = "{}/{}/{}.conf".format(self.proxyPath, site_name, proxy_id) conf_txt = "{}/{}/{}.conf.txt".format(self.proxyPath, site_name, proxy_id) - if _status == '1': + if status == '1': mw.execShell('mv ' + conf_txt + ' ' + conf_file) else: mw.execShell('mv ' + conf_file + ' ' + conf_txt)