mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-02 20:04:43 +00:00
Fix wrong method name in SSL certificate check.
This commit is contained in:
parent
b073c5a3ef
commit
b9d234c78a
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class HttpsUrl (httpurl.HttpUrl):
|
|||
self.add_ssl_warning(ssl_sock, msg)
|
||||
elif checkDaysValid > 0 and \
|
||||
secondsValid < (checkDaysValid * strformat.SECONDS_PER_DAY):
|
||||
strSecondsValid = strformat.str_duration_long(secondsValid)
|
||||
strSecondsValid = strformat.strduration_long(secondsValid)
|
||||
msg = _('certificate is only %s valid') % strSecondsValid
|
||||
self.add_ssl_warning(ssl_sock, msg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue