mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
Move the examples to a top-level examples directory.
This commit is contained in:
parent
5c3066ba30
commit
9bef4b4d4d
2 changed files with 6 additions and 6 deletions
|
@ -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:
|
Loading…
Reference in a new issue