mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 06:10:50 +08:00
Merge branch 'master' of github.com:hiddenswitch/ComfyUI
This commit is contained in:
commit
fb7846db50
@ -856,7 +856,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