From 5b64cc96adc53a213764fc6c28286c8d36ef4ff1 Mon Sep 17 00:00:00 2001 From: MaraScott Date: Fri, 21 Jun 2024 13:52:06 +0200 Subject: [PATCH] Hotfix is divisible by 8 (#84) * hotfix is_divisible_by_8 * hotfix is_divisible_by_8 --- py/inc/lib/image.py | 2 +- py/utils/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py/inc/lib/image.py b/py/inc/lib/image.py index f583401..b6e2756 100644 --- a/py/inc/lib/image.py +++ b/py/inc/lib/image.py @@ -21,7 +21,7 @@ class MS_Image: @classmethod def is_divisible_by_8(self, image): - width, height = image.shape[1], image.shape[0] + width, height = image.shape[2], image.shape[1] return (width % 8 == 0) and (height % 8 == 0) @classmethod diff --git a/py/utils/version.py b/py/utils/version.py index 9b4c3ef..01c717b 100644 --- a/py/utils/version.py +++ b/py/utils/version.py @@ -3,4 +3,4 @@ # ### -VERSION = "4.3.1" \ No newline at end of file +VERSION = "4.3.2" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5afea59..c2c31dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_marascott_nodes" description = "A set of nodes including a universal bus, an Inpainting By Mask and a large Upscaler/Refiner" -version = "4.3.1" +version = "4.3.2" license = "LICENSE" dependencies = ["blend_modes", "numba", "color-matcher", "groq"]