diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-02 17:34:11 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-02 17:34:11 +0200 |
commit | d076cef023808c3c227c3131330e24245c278e92 (patch) | |
tree | de81315370b0b3bed748f2282b4eaf17ab9d77c0 /examples/ping.py | |
parent | 0d3116dbdfa1325edfa71bf3c1fd9ea77c820396 (diff) | |
download | slixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.gz slixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.bz2 slixmpp-d076cef023808c3c227c3131330e24245c278e92.tar.xz slixmpp-d076cef023808c3c227c3131330e24245c278e92.zip |
Add forever=False to some examples to make them terminate
Diffstat (limited to 'examples/ping.py')
-rwxr-xr-x | examples/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ping.py b/examples/ping.py index 4492d4e0..7870715c 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -109,4 +109,4 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() - xmpp.process() + xmpp.process(forever=False) |