diff options
author | mathieui <mathieui@mathieui.net> | 2017-02-14 01:04:27 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-02-14 01:04:27 +0100 |
commit | ffc240d5b6ba62b29e670483c73b110b3edfefe4 (patch) | |
tree | dc149d045b56e63f5b9f7036f3b42d438cf0dcd0 | |
parent | cc4522d9cd256489459c2611e867dece52449363 (diff) | |
download | slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.gz slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.bz2 slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.xz slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.zip |
Fix the gtalk example
-rwxr-xr-x | examples/gtalk_custom_domain.py | 4 |
1 files 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): """ |