From f2ec2308e88c3585ce39ef8ad9ea2e69e51a71a6 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Thu, 25 May 2023 20:25:07 +0100 Subject: [PATCH] Update show_text.py --- show-text/show_text.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/show-text/show_text.py b/show-text/show_text.py index d2a11bf..762e0a6 100644 --- a/show-text/show_text.py +++ b/show-text/show_text.py @@ -5,16 +5,18 @@ class ShowText: "text": ("STRING", {"forceInput": True}), }} + INPUT_IS_LIST = True RETURN_TYPES = ("STRING",) FUNCTION = "notify" OUTPUT_NODE = True + OUTPUT_IS_LIST = (True,) CATEGORY = "utils" - def notify(self, text): - return {"ui": { "text": text }, "result": (text,)} + def notify(self, text): + return {"ui": {"text": text}, "result": (text,)} NODE_CLASS_MAPPINGS = { "ShowText": ShowText, -} \ No newline at end of file +}