Move the examples to a top-level examples directory.
This commit is contained in:
@@ -46,8 +46,8 @@ if __name__ == '__main__':
|
||||
|
||||
# use this if you don't have pydns, and want to
|
||||
# talk to GoogleTalk (e.g.)
|
||||
# if xmpp.connect(('talk.google.com', 5222)):
|
||||
if xmpp.connect():
|
||||
if xmpp.connect(('talk.google.com', 5222)):
|
||||
#khif xmpp.connect():
|
||||
xmpp.process(threaded=False)
|
||||
print("done")
|
||||
else:
|
||||
Reference in New Issue
Block a user