From 68d7b9f2f69ccafa5bc3db17674dff723acfa207 Mon Sep 17 00:00:00 2001 From: Inoland Date: Sat, 28 Mar 2026 15:49:35 +0400 Subject: [PATCH] Update image_helper.py --- src/comfyui_ino_nodes/node_helpers/image_helper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/comfyui_ino_nodes/node_helpers/image_helper.py b/src/comfyui_ino_nodes/node_helpers/image_helper.py index efa16a4..b70eb88 100644 --- a/src/comfyui_ino_nodes/node_helpers/image_helper.py +++ b/src/comfyui_ino_nodes/node_helpers/image_helper.py @@ -330,8 +330,9 @@ class InoImageListToBatch(io.ComfyNode): node_id="InoImageListToBatch", display_name="Ino Image List To Batch", category="InoNodes", + is_input_list=True, inputs=[ - io.Image.Input("images", is_input_list=True), + io.Image.Input("images"), io.Boolean.Input("padding", default=False, label_off="Resize", label_on="Pad"), ], outputs=[ @@ -342,6 +343,7 @@ class InoImageListToBatch(io.ComfyNode): @classmethod def execute(cls, images, padding): + padding = padding[0] if isinstance(padding, list) else padding if len(images) == 0: import torch return io.NodeOutput(torch.empty(0), 0)