fix util.getMigratedItem()
This commit is contained in:
parent
89058ecfc1
commit
9c7092564c
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ def getItem(uid, intIds=None, storage=None):
|
|||
return obj
|
||||
|
||||
def getMigratedItem(uid, storage):
|
||||
t = storage.getUidTable
|
||||
t = storage.getUidTable()
|
||||
stmt = t.select().where(t.c.legacy == int(uid))
|
||||
newId = storage.session.execute(stmt).first()
|
||||
if newId is not None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue