summaryrefslogtreecommitdiff
path: root/examples/proxy_echo_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/proxy_echo_client.py')
-rwxr-xr-xexamples/proxy_echo_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/proxy_echo_client.py b/examples/proxy_echo_client.py
index eeeb4fbb..1f4ba9d3 100755
--- a/examples/proxy_echo_client.py
+++ b/examples/proxy_echo_client.py
@@ -163,7 +163,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.")