Skip to content

Commit

Permalink
fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Ribbens committed May 8, 2015
1 parent 353c493 commit fa93508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslexpiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def check_server(server, certs_file, days, timeout, verbose):
expiry.strftime("%d %b %Y"), signature.decode("iso-8859-1"))
now = datetime.datetime.now()
if expiry <= now:
return "Certificated expired on {}!".format(expiry.strftime("%d %b %Y"))
return "Certificate expired on {}!".format(expiry.strftime("%d %b %Y"))
remaining = expiry - now
if remaining.days <= days:
return "Expiry date is {} - {} day(s) from now".format(
Expand Down

0 comments on commit fa93508

Please sign in to comment.