From 68e99e5e5db446e1155d68b96abe568faa02bb27 Mon Sep 17 00:00:00 2001 From: Chris Allan Date: Thu, 29 Aug 2024 20:13:04 +0000 Subject: [PATCH] Fix incorrect variable usage in marshal_images() --- omeroweb/webclient/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omeroweb/webclient/tree.py b/omeroweb/webclient/tree.py index f2559c4ca7..beb46de53c 100644 --- a/omeroweb/webclient/tree.py +++ b/omeroweb/webclient/tree.py @@ -814,7 +814,7 @@ def marshal_images( # images mentioned in shares that are not in the results # because they have been deleted if share_id is not None and image_rids and data["id"] in image_rids: - image_rids.remove(e["id"]) + image_rids.remove(data["id"]) kwargs["share_id"] = share_id images.append(_marshal_image_map(conn, data, **kwargs))