mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-21 03:40:16 +08:00
Allow input_info to be of type None
This commit is contained in:
parent
36b2214e30
commit
e4e20d79b2
@ -105,7 +105,7 @@ class TopologicalSort:
|
|||||||
if subgraph_nodes is not None and from_node_id not in subgraph_nodes:
|
if subgraph_nodes is not None and from_node_id not in subgraph_nodes:
|
||||||
continue
|
continue
|
||||||
input_type, input_category, input_info = self.get_input_info(unique_id, input_name)
|
input_type, input_category, input_info = self.get_input_info(unique_id, input_name)
|
||||||
is_lazy = "lazy" in input_info and input_info["lazy"]
|
is_lazy = input_info is not None and "lazy" in input_info and input_info["lazy"]
|
||||||
if include_lazy or not is_lazy:
|
if include_lazy or not is_lazy:
|
||||||
self.add_strong_link(from_node_id, from_socket, unique_id)
|
self.add_strong_link(from_node_id, from_socket, unique_id)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user