summaryrefslogtreecommitdiff
path: root/examples/migrate_roster.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/migrate_roster.py')
-rwxr-xr-xexamples/migrate_roster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py
index bd3bf7e6..e6c66f2e 100755
--- a/examples/migrate_roster.py
+++ b/examples/migrate_roster.py
@@ -103,5 +103,5 @@ def on_session2(event):
new_xmpp.disconnect()
new_xmpp.add_event_handler('session_start', on_session2)
-if new_xmpp.connect():
- new_xmpp.process(block=True)
+new_xmpp.connect()
+new_xmpp.process()