fix err typo

This commit is contained in:
takatost
2024-03-13 18:02:07 +08:00
parent 6b19ba3bb2
commit e5ff06bcb7

View File

@@ -95,7 +95,7 @@ class IfElseNode(BaseNode):
return NodeRunResult(
status=WorkflowNodeExecutionStatus.FAILED,
inputs=node_inputs,
process_datas=process_datas,
process_data=process_datas,
error=str(e)
)
@@ -107,7 +107,7 @@ class IfElseNode(BaseNode):
return NodeRunResult(
status=WorkflowNodeExecutionStatus.SUCCEEDED,
inputs=node_inputs,
process_datas=process_datas,
process_data=process_datas,
edge_source_handle="false" if not compare_result else "true",
outputs={
"result": compare_result