fix crash on node with VALIDATE_INPUTS and actual inputs

This commit is contained in:
pythongosssss 2023-09-07 18:42:21 +01:00
parent 8be46438be
commit 62799c8585
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ def get_input_data(inputs, class_def, unique_id, outputs={}, prompt={}, extra_da
input_unique_id = input_data[0] input_unique_id = input_data[0]
output_index = input_data[1] output_index = input_data[1]
if input_unique_id not in outputs: if input_unique_id not in outputs:
return None input_data_all[x] = (None,)
continue
obj = outputs[input_unique_id][output_index] obj = outputs[input_unique_id][output_index]
input_data_all[x] = obj input_data_all[x] = obj
else: else: