typo
This commit is contained in:
parent
54f5ba33e1
commit
a30c66c1a7
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue