diff options
author | Steven Roose <stevenroose@gmail.com> | 2015-05-25 01:01:08 +0200 |
---|---|---|
committer | Steven Roose <stevenroose@gmail.com> | 2015-05-25 01:01:08 +0200 |
commit | 92901637ec068bb529c7a86fa8e348930f951e78 (patch) | |
tree | eab8a783df9d3cb85c3edfc06f1c4051fcf56dc0 /examples/migrate_roster.py | |
parent | a8ac115310c1b9aaa80cc0d48a1157396b29abd3 (diff) | |
download | slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.gz slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.bz2 slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.xz slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.zip |
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.
Diffstat (limited to 'examples/migrate_roster.py')
-rwxr-xr-x | examples/migrate_roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |