mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
fix issue when trying to normalize paths for comparison purposes and the node contains an integer list value
This commit is contained in:
parent
564e14ea97
commit
cc9a0935a4
@ -854,7 +854,7 @@ def validate_inputs(prompt, item, validated: typing.Dict[str, ValidateInputsTupl
|
||||
|
||||
if isinstance(input_type, list):
|
||||
combo_options = input_type
|
||||
if "\\" in val:
|
||||
if isinstance(val, str) and "\\" in val:
|
||||
# try to normalize paths for comparison purposes
|
||||
val = canonicalize_path(val)
|
||||
if all(isinstance(item, (str, PathLike)) for item in combo_options):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user