diff --git a/modules/impact/config.py b/modules/impact/config.py index 9f43b23..d50b609 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -1,7 +1,7 @@ import configparser import os -version_code = [8, 15, 1] +version_code = [8, 15, 2] version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') dependency_version = 24 diff --git a/modules/impact/impact_pack.py b/modules/impact/impact_pack.py index b4cd763..64d22c5 100644 --- a/modules/impact/impact_pack.py +++ b/modules/impact/impact_pack.py @@ -1906,7 +1906,7 @@ class MaskRectArea: # search for node node_found = False for node in extra_pnginfo["workflow"]["nodes"]: - if node["id"] == int(unique_id): + if str(node["id"]) == unique_id: min_x = node["properties"].get("x", 0) / 100 min_y = node["properties"].get("y", 0) / 100 width = node["properties"].get("w", 0) / 100 diff --git a/pyproject.toml b/pyproject.toml index 7f91aa7..3c2c61f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-impact-pack" description = "This node pack offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler." -version = "8.15.1" +version = "8.15.2" license = { file = "LICENSE.txt" } dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]