diff --git a/nodes.py b/nodes.py index e6758ef..97599cc 100644 --- a/nodes.py +++ b/nodes.py @@ -1,7 +1,7 @@ import io import re import json -from os.path import realpath, join +from os.path import realpath, join, dirname MANIFEST = {"name": "noEmbryo Nodes", "version": (0, 0, 1, 0), @@ -11,9 +11,10 @@ MANIFEST = {"name": "noEmbryo Nodes", "license": "MIT", } __author__ = "noEmbryo" -__version__ = "1.0.2" +__version__ = "1.0.3" -LISTS_PATH = realpath("./custom_nodes/ComfyUI-noEmbryo/TermLists/") +# LISTS_PATH = realpath("./custom_nodes/ComfyUI-noEmbryo/TermLists/") +LISTS_PATH = join(dirname(realpath(__file__)), "TermLists") class PromptTermList: diff --git a/pyproject.toml b/pyproject.toml index 54b18e4..bc60b20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ A collection of nodes for ComyUI. - "PromptTermList (1-6)" nodes to help with the creation of Prompts. - "Resolution Scale" is a node that resizes an image using pixels or scale factor. - "Regex Text Chopper" is a node that cuts text based on regex.""" -version = "1.0.2" +version = "1.0.3" license = {text = "MIT License"} [project.urls]