Chmod +x examples, and add shebang lines

This commit is contained in:
Lance Stout
2013-09-20 11:50:51 -07:00
parent b8b2f37e7b
commit cd2d25cf87
15 changed files with 77 additions and 58 deletions

View File

@@ -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.")