mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Attempt to fix ridiculous log message
This commit is contained in:
@@ -567,8 +567,8 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
|
||||
"cert", self.latest_common_version()))
|
||||
now = pytz.UTC.fromutc(datetime.datetime.utcnow())
|
||||
if expiry < add_time_interval(now, interval):
|
||||
logger.debug("Should renew, certificate "
|
||||
"has been expired since %s.",
|
||||
logger.debug("Should renew, less than %r days before certificate "
|
||||
"expiry %s.", interval,
|
||||
expiry.strftime("%Y-%m-%d %H:%M:%S %Z"))
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user