fix util.getMigratedItem()

This commit is contained in:
Helmut Merz 2025-11-19 12:01:48 +01:00
parent 89058ecfc1
commit 9c7092564c

View file

@ -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: