summaryrefslogtreecommitdiff
path: root/examples/send_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/send_client.py')
-rwxr-xr-xexamples/send_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/send_client.py b/examples/send_client.py
index 1ddac659..94bb584d 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -138,7 +138,7 @@ if __name__ == '__main__':
#
# if xmpp.connect(('talk.google.com', 5222)):
# ...
- xmpp.process(threaded=False)
+ xmpp.process(block=True)
print("Done")
else:
print("Unable to connect.")