Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
7785d073
Unverified
Commit
7785d073
authored
Aug 01, 2023
by
Michael Poutre
Browse files
chore: Fix typo
parent
834ab278
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
execution.py
execution.py
+3
-3
No files found.
execution.py
View file @
7785d073
...
...
@@ -42,9 +42,9 @@ def get_input_data(inputs, class_def, unique_id, outputs={}, prompt={}, extra_da
def
map_node_over_list
(
obj
,
input_data_all
,
func
,
allow_interrupt
=
False
):
# check if node wants the lists
in
t
put_is_list
=
False
input_is_list
=
False
if
hasattr
(
obj
,
"INPUT_IS_LIST"
):
in
t
put_is_list
=
obj
.
INPUT_IS_LIST
input_is_list
=
obj
.
INPUT_IS_LIST
max_len_input
=
max
([
len
(
x
)
for
x
in
input_data_all
.
values
()])
...
...
@@ -56,7 +56,7 @@ def map_node_over_list(obj, input_data_all, func, allow_interrupt=False):
return
d_new
results
=
[]
if
in
t
put_is_list
:
if
input_is_list
:
if
allow_interrupt
:
nodes
.
before_node_execution
()
results
.
append
(
getattr
(
obj
,
func
)(
**
input_data_all
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment