From a30c66c1a79c54e80f1e1781926f9c54f27812c9 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 12 Feb 2016 18:57:55 +0530 Subject: [PATCH] typo --- oml/update.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/oml/update.py b/oml/update.py index f85af9f..74adcf2 100644 --- a/oml/update.py +++ b/oml/update.py @@ -529,7 +529,7 @@ def migrate_11(): peer.info['revision'] = last.revision for l in List.query.filter_by(user_id=u.id): if l.name: - peer.info['lists'][l.lame] = [i.id for i in l.get_items()] + peer.info['lists'][l.name] = [i.id for i in l.get_items()] for m in Metadata.query.filter_by(user_id=u.id): peer.library[m.item_id] = { 'meta': dict(m.data), @@ -554,7 +554,5 @@ def migrate_11(): } state.db.session.add(t) state.db.session.commit() - state.shutdown = True - state.downloads.join() - state.downlodas = None + state.downloads.transfers.commit() return 11