summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-14 01:04:27 +0100
committermathieui <mathieui@mathieui.net>2017-02-14 01:04:27 +0100
commitffc240d5b6ba62b29e670483c73b110b3edfefe4 (patch)
treedc149d045b56e63f5b9f7036f3b42d438cf0dcd0
parentcc4522d9cd256489459c2611e867dece52449363 (diff)
downloadslixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.gz
slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.bz2
slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.tar.xz
slixmpp-ffc240d5b6ba62b29e670483c73b110b3edfefe4.zip
Fix the gtalk example
-rwxr-xr-xexamples/gtalk_custom_domain.py4
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):
"""