mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-12 07:10:52 +08:00
Fix pylint issues
This commit is contained in:
parent
607fcf7321
commit
4c67f75d36
@ -18,6 +18,8 @@ DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest"
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
args: Configuration
|
||||
|
||||
_module_properties = create_module_properties()
|
||||
|
||||
|
||||
|
||||
@ -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]
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user