remove unnecessary check

Signed-off-by: mymusise <mymusise1@gmail.com>
This commit is contained in:
mymusise
2024-06-26 18:19:04 +08:00
parent b1a632b135
commit 2368ce8b46
+1 -2
View File
@@ -68,8 +68,7 @@ class ImageBatchMultiple:
CATEGORY = "essentials/image batch"
def execute(self, image_1, method, image_2=None, image_3=None, image_4=None, image_5=None):
if all(img is None for img in (image_2, image_3, image_4, image_5)):
return (image_1,)
out = image_1
if image_2 is not None:
if image_1.shape[1:] != image_2.shape[1:]: