Examples fixes

This commit is contained in:
Anton Ryzhov
2014-01-21 16:19:27 +04:00
parent 12995e280e
commit cebfd84416
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ if __name__ == '__main__':
#
# if xmpp.connect(('talk.google.com', 5222)):
# ...
xmpp.process(block=False)
xmpp.process(block=True)
print("Done")
else:
print("Unable to connect.")