Update util.py
Fix Typo
This commit is contained in:
parent
9c7092564c
commit
ca066373c9
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ def getMigratedItem(uid, storage):
|
|||
stmt = t.select().where(t.c.legacy == int(uid))
|
||||
newId = storage.session.execute(stmt).first()
|
||||
if newId is not None:
|
||||
return storage.getItem('%s-%i' % newUid)
|
||||
return storage.getItem('%s-%i' % newId)
|
||||
return None
|
||||
|
||||
def getObjectForUid(uid, intIds=None):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue