From dc26d15ecea6de600d2808352817b7bd71a43129 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Wed, 19 Nov 2025 12:23:10 +0100 Subject: [PATCH] another fix for util.getMigratedItem() --- loops/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loops/util.py b/loops/util.py index 137d74c..121a54b 100644 --- a/loops/util.py +++ b/loops/util.py @@ -170,7 +170,7 @@ def getItem(uid, intIds=None, storage=None): def getMigratedItem(uid, storage): t = storage.getUidTable() - stmt = t.select().where(t.c.legacy == int(uid)) + stmt = t.select(t.c.prefix, t.c.id).where(t.c.legacy == int(uid)) newId = storage.session.execute(stmt).first() if newId is not None: return storage.getItem('%s-%i' % newId)