Fix the gtalk example
This commit is contained in:
parent
cc4522d9cd
commit
ffc240d5b6
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue