diff --git a/maubot.yaml b/maubot.yaml index 246b3f8..b704017 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: sh.wallace.matrix.shameotron -version: 0.0.13 +version: 0.0.14 license: MIT modules: - shameotron diff --git a/shameotron.py b/shameotron.py index 39732f4..9421493 100644 --- a/shameotron.py +++ b/shameotron.py @@ -99,6 +99,7 @@ class ShameOTron(Plugin): # parse the string from the certificate into a Python datetime object return datetime.strptime(ssl_info['notAfter'], ssl_date_fmt) + async def query_homeserver(self, host): """ Class method to query the Federation Tester to retrieve the running @@ -130,7 +131,7 @@ class ShameOTron(Plugin): ssl.SSLError, IndexError ) as error: - self.log.warning('SSL error for: %s (%s): %s', host, addr, error) + self.log.warning('SSL error for: %s: %s', host, error) ssl_expiry = None try: