From 17e0a057698575ea95d75abac4df72561bd9119f Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Sat, 19 Jul 2025 19:09:49 +0900 Subject: [PATCH] fixed: The `{n$$...}`` wildcard pattern was not working properly. https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/1055 --- modules/impact/config.py | 2 +- modules/impact/wildcards.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/impact/config.py b/modules/impact/config.py index b566604..53b38ef 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -3,7 +3,7 @@ import os import logging -version_code = [8, 20] +version_code = [8, 20, 1] version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') my_path = os.path.dirname(__file__) diff --git a/modules/impact/wildcards.py b/modules/impact/wildcards.py index de8173e..ca20d37 100644 --- a/modules/impact/wildcards.py +++ b/modules/impact/wildcards.py @@ -139,7 +139,7 @@ def process(text, seed=None): if b is not None: b = b.strip() else: - b = "-1" + b = a if r is not None: if b is not None and is_numeric_string(a) and is_numeric_string(b): diff --git a/pyproject.toml b/pyproject.toml index 288671e..e5fadb7 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.20" +version = "8.20.1" license = { file = "LICENSE.txt" } dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]