From 4c67f75d360177d18a3eef929a2225a144c6b486 Mon Sep 17 00:00:00 2001 From: doctorpangloss <2229300+doctorpangloss@users.noreply.github.com> Date: Fri, 24 Oct 2025 10:12:20 -0700 Subject: [PATCH] Fix pylint issues --- comfy/cli_args.py | 2 ++ comfy/node_helpers.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index 7aa1addba..a0b0245ce 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -18,6 +18,8 @@ DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest" logger = logging.getLogger(__name__) +args: Configuration + _module_properties = create_module_properties() diff --git a/comfy/node_helpers.py b/comfy/node_helpers.py index 3acf1c503..4278d293a 100644 --- a/comfy/node_helpers.py +++ b/comfy/node_helpers.py @@ -1,8 +1,8 @@ import hashlib from PIL import ImageFile, UnidentifiedImageError -from .cli_args import args from .component_model.files import get_package_as_path +from .execution_context import current_execution_context def conditioning_set_values(conditioning, values: dict = None, append=False): @@ -45,6 +45,7 @@ def hasher(): "sha256": hashlib.sha256, "sha512": hashlib.sha512 } + args = current_execution_context().configuration return hashfuncs[args.default_hashing_function]