summaryrefslogtreecommitdiff
path: root/examples/echo_client.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-09-20 11:50:51 -0700
committerLance Stout <lancestout@gmail.com>2013-09-20 11:50:51 -0700
commitcd2d25cf874c5931b5c5a843c09875625bb9a84c (patch)
treead6e0421ec44a15f8b60c76e3042dfbe7ccb9cb5 /examples/echo_client.py
parentb8b2f37e7b06647a48dfcb41c44c10121b04c514 (diff)
downloadslixmpp-cd2d25cf874c5931b5c5a843c09875625bb9a84c.tar.gz
slixmpp-cd2d25cf874c5931b5c5a843c09875625bb9a84c.tar.bz2
slixmpp-cd2d25cf874c5931b5c5a843c09875625bb9a84c.tar.xz
slixmpp-cd2d25cf874c5931b5c5a843c09875625bb9a84c.zip
Chmod +x examples, and add shebang lines
Diffstat (limited to 'examples/echo_client.py')
-rwxr-xr-xexamples/echo_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_client.py b/examples/echo_client.py
index f2d38847..18125a0d 100755
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -151,7 +151,7 @@ if __name__ == '__main__':
#
# if xmpp.connect(('talk.google.com', 5222)):
# ...
- xmpp.process(block=True)
+ xmpp.process(block=False)
print("Done")
else:
print("Unable to connect.")