From ffc240d5b6ba62b29e670483c73b110b3edfefe4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 14 Feb 2017 01:04:27 +0100 Subject: [PATCH] Fix the gtalk example --- examples/gtalk_custom_domain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gtalk_custom_domain.py b/examples/gtalk_custom_domain.py index d25a5786..f055159b 100755 --- a/examples/gtalk_custom_domain.py +++ b/examples/gtalk_custom_domain.py @@ -55,8 +55,8 @@ class GTalkBot(slixmpp.ClientXMPP): cert.verify('talk.google.com', der_cert) logging.debug("CERT: Found GTalk certificate") except cert.CertificateError as err: - log.error(err.message) - self.disconnect(send_close=False) + logging.error(err.message) + self.disconnect() def start(self, event): """