diff options
-rwxr-xr-x | examples/disco_browser.py | 2 | ||||
-rwxr-xr-x | examples/pubsub_client.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 783156b8..54f6c933 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -162,4 +162,4 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() - xmpp.process() + xmpp.process(forever=False) diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index b379af95..faeeddf7 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -171,4 +171,4 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() - xmpp.process() + xmpp.process(forever=False) |