From 745b668ec185f372719ae08e01565971cb5e2bcb Mon Sep 17 00:00:00 2001 From: Teddy Xiong Date: Thu, 26 Mar 2026 02:04:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20return=20value=20must=20b?= =?UTF-8?q?e=20tuple?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AsyncOutput.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AsyncOutput.py b/AsyncOutput.py index 70f6e67..eff561c 100644 --- a/AsyncOutput.py +++ b/AsyncOutput.py @@ -198,7 +198,7 @@ class AsyncOutputConvertStringListToStringNode: return { "required": { "input_string_list": ("LIST", { "forceInput": True }), - "join_word": ("STRING", { "default": "\n" }) + "join_word": ("STRING", { "default": "" }) } } @@ -208,7 +208,7 @@ class AsyncOutputConvertStringListToStringNode: CATEGORY = f'{MAIN_CATEGORY}/Utils' FUNCTION = "convert_string_list_to_string" - def convert_string_list_to_string(self, input_string_list=[], join_word="\n"): + def convert_string_list_to_string(self, input_string_list=[], join_word=""): if isinstance(input_string_list, list) == False: raise Exception("ERROR: input_string_list not a list.") @@ -216,6 +216,6 @@ class AsyncOutputConvertStringListToStringNode: result = join_word result = result.join(input_string_list) - return result + return (result, )