diff --git a/class/acme_v2.py b/class/acme_v2.py index df19a260..52232ee9 100644 --- a/class/acme_v2.py +++ b/class/acme_v2.py @@ -1505,13 +1505,13 @@ fullchain.pem Paste into certificate input box if 'next_retry_time' in self._config['orders'][i]: timeout = self._config['orders'][i]['next_retry_time'] - int(time.time()) if timeout > 0: - write_log('|-The domain name skipped this time: {}, because the last renewal failed, you still need to wait {} hours and try again'.format(self._config['orders'][index]['domains'],int(timeout / 60 / 60))) + write_log('|-The domain name skipped this time: {}, because the last renewal failed, you still need to wait {} hours and try again'.format(self._config['orders'][i]['domains'],int(timeout / 60 / 60))) continue # 是否到了最大重试次数 if 'retry_count' in self._config['orders'][i]: if self._config['orders'][i]['retry_count'] >= 3: - write_log('|-Skip the domain name this time: {}, this certificate will not be renewed due to failure to renew 3 times in a row'.format(self._config['orders'][index]['domains'])) + write_log('|-Skip the domain name this time: {}, this certificate will not be renewed due to failure to renew 3 times in a row'.format(self._config['orders'][i]['domains'])) continue # 加入到续签订单