From 92901637ec068bb529c7a86fa8e348930f951e78 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Mon, 25 May 2015 01:01:08 +0200 Subject: Change to roster migration example I did have the chance to test the script yet, but it seems like that line should be outside the for loop. --- examples/migrate_roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py index 797e4f44..9f679523 100755 --- a/examples/migrate_roster.py +++ b/examples/migrate_roster.py @@ -113,7 +113,7 @@ def on_session2(event): new_xmpp.update_roster(jid, name = item['name'], groups = item['groups']) - new_xmpp.disconnect() + new_xmpp.disconnect() new_xmpp.add_event_handler('session_start', on_session2) if new_xmpp.connect(): -- cgit v1.2.3