"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "a500320111cb4204f629ed58c3e3d13c980bc9df"
Commit 136c93cb authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix bug with workflow not registering change.

There was an issue when only the class type of a node changed with all the
inputs staying the same.
parent 1305fb29
...@@ -247,6 +247,8 @@ def recursive_output_delete_if_changed(prompt, old_prompt, outputs, current_item ...@@ -247,6 +247,8 @@ def recursive_output_delete_if_changed(prompt, old_prompt, outputs, current_item
to_delete = True to_delete = True
elif unique_id not in old_prompt: elif unique_id not in old_prompt:
to_delete = True to_delete = True
elif class_type != old_prompt[unique_id]['class_type']:
to_delete = True
elif inputs == old_prompt[unique_id]['inputs']: elif inputs == old_prompt[unique_id]['inputs']:
for x in inputs: for x in inputs:
input_data = inputs[x] input_data = inputs[x]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment