Update util.py

Fix Typo
This commit is contained in:
Hannes Plattner 2025-11-19 12:10:31 +01:00 committed by GitHub
parent 9c7092564c
commit ca066373c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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