Fix the gtalk example

This commit is contained in:
mathieui 2017-02-14 01:04:27 +01:00
parent cc4522d9cd
commit ffc240d5b6
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -55,8 +55,8 @@ class GTalkBot(slixmpp.ClientXMPP):
cert.verify('talk.google.com', der_cert) cert.verify('talk.google.com', der_cert)
logging.debug("CERT: Found GTalk certificate") logging.debug("CERT: Found GTalk certificate")
except cert.CertificateError as err: except cert.CertificateError as err:
log.error(err.message) logging.error(err.message)
self.disconnect(send_close=False) self.disconnect()
def start(self, event): def start(self, event):
""" """