chore: Fix typo

This commit is contained in:
Michael Poutre 2023-08-01 12:27:50 -07:00
parent 834ab278d2
commit 7785d073f0
No known key found for this signature in database
GPG Key ID: ACEAC6CFD77EB15E
1 changed files with 3 additions and 3 deletions

View File

@ -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
intput_is_list = False
input_is_list = False
if hasattr(obj, "INPUT_IS_LIST"):
intput_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 intput_is_list:
if input_is_list:
if allow_interrupt:
nodes.before_node_execution()
results.append(getattr(obj, func)(**input_data_all))