Fix pylint issues

This commit is contained in:
doctorpangloss 2025-10-24 10:12:20 -07:00
parent 607fcf7321
commit 4c67f75d36
2 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,8 @@ DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest"
logger = logging.getLogger(__name__)
args: Configuration
_module_properties = create_module_properties()

View File

@ -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]