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