From 1a0a02e1a68fee49d259b81bfaff9f51ee7bd40c Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 18 Nov 2022 11:14:42 +0800 Subject: [PATCH] Update cert_api.py --- class/core/cert_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/core/cert_api.py b/class/core/cert_api.py index 6afe7712a..a784aba88 100644 --- a/class/core/cert_api.py +++ b/class/core/cert_api.py @@ -463,7 +463,7 @@ fi return self.getSiteRunPathByid(site_id) # 清理验证文件 - def claerAuthFile(self, index): + def clearAuthFile(self, index): if not self.__config['orders'][index]['auth_type'] in ['http', 'tls']: return True acme_path = '{}/.well-known/acme-challenge'.format( @@ -583,7 +583,7 @@ fi self.__config['orders'][index]['auth_to'] = site_run_path # 清理旧验证 - self.claerAuthFile(index) + self.clearAuthFile(index) auths = [] for auth_url in self.__config['orders'][index]['authorizations']: