summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):
"""