From 2781473763eb9f462f74b017e704b65c6a77378c Mon Sep 17 00:00:00 2001 From: Haoming Date: Sat, 18 Apr 2026 21:49:32 +0800 Subject: [PATCH] desc --- comfy_extras/nodes_conversion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy_extras/nodes_conversion.py b/comfy_extras/nodes_conversion.py index 750eb4ac3..632c26a68 100644 --- a/comfy_extras/nodes_conversion.py +++ b/comfy_extras/nodes_conversion.py @@ -28,9 +28,9 @@ class ConvertAny(io.ComfyNode): description=""" Convert one primitive type to another - int: Call the Python native int() function ; return the integer with decimal places removed -- int (round): Convert the value to float first, then call the Python native round() function ; return a rounded integer +- int (round): Call the Python native round() function ; return a rounded integer - float: Call the Python native float() function ; return a decimal value -- string: Call the Python native str() function ; return the value as string or its string representation +- string: Call the Python native str() function ; return the value's string representation - bool: Call the Python native bool() function ; return whether the value is considered true or false - bool (string): Return whether the string is one of ["true", "yes", "t", "y", "1"] (case insensitive) """, @@ -87,7 +87,7 @@ Convert one primitive type to another except (TypeError, ValueError) as e: if cls.hidden.unique_id: PromptServer.instance.send_progress_text( - f'Failed to convert "{input_value}" ({type(input_value).__name__}) to "{output_type}"\n{e}', + f'Failed to convert "{input_value}" ({type(input_value).__name__}) to "{output_type}":\n{e}', cls.hidden.unique_id, ) return io.NodeOutput(input_value)