From 97789d07963c438838d4d940dfcdb638bc04175f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 3 Oct 2024 02:19:13 +0800 Subject: [PATCH] Update cert_api.py --- class/core/cert_api.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/class/core/cert_api.py b/class/core/cert_api.py index 7f430584c..8fbc15967 100644 --- a/class/core/cert_api.py +++ b/class/core/cert_api.py @@ -1452,12 +1452,14 @@ fullchain.pem 粘贴到证书输入框 self.__config['orders'][i]['auth_to'] = auth_to - if not self.checkDomainIsExsits(domain): - auth_to = None - msg = "|-跳过被删除的域名: {}!".format(self.__config['orders'][i]['domains']) - writeLog(msg) + auth_to = True + for domain in self.__config['orders'][i]['domains']: + if not self.checkDomainIsExsits(domain): + auth_to = False + msg = "|-跳过被删除的域名: {}!".format(self.__config['orders'][i]['domains']) + writeLog(msg) + if not auth_to: continue - # 是否到了允许重试的时间 if 'next_retry_time' in self.__config['orders'][i]: timeout = self.__config['orders'][i][