mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-21 03:50:50 +08:00
Fix cringe arrows
This commit is contained in:
parent
f8d0925444
commit
122c9d5362
@ -1325,12 +1325,12 @@ def build_nested_inputs(values: dict[str], paths: dict[str]):
|
|||||||
while len(lst) <= index:
|
while len(lst) <= index:
|
||||||
lst.append(None)
|
lst.append(None)
|
||||||
|
|
||||||
# Last element → assign the value directly
|
# Last element - assign the value directly
|
||||||
if is_last:
|
if is_last:
|
||||||
lst[index] = values.pop(key)
|
lst[index] = values.pop(key)
|
||||||
break
|
break
|
||||||
|
|
||||||
# Non-last element → ensure dict
|
# Non-last element - ensure dict
|
||||||
if lst[index] is None or not isinstance(lst[index], dict):
|
if lst[index] is None or not isinstance(lst[index], dict):
|
||||||
lst[index] = {}
|
lst[index] = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user