fix util.getMigratedItem()

This commit is contained in:
Helmut Merz 2025-11-19 11:53:24 +01:00
parent 8be18fa43e
commit 89058ecfc1

View file

@ -169,7 +169,7 @@ def getItem(uid, intIds=None, storage=None):
return obj
def getMigratedItem(uid, storage):
t = self.getUidTable
t = storage.getUidTable
stmt = t.select().where(t.c.legacy == int(uid))
newId = storage.session.execute(stmt).first()
if newId is not None: