add output to display any

This commit is contained in:
cubiq
2024-09-07 13:42:30 +02:00
parent b581fab3aa
commit d31d339dc4
+2 -2
View File
@@ -503,7 +503,7 @@ class DisplayAny:
def VALIDATE_INPUTS(s, input_types):
return True
RETURN_TYPES = ()
RETURN_TYPES = ("STRING",)
FUNCTION = "execute"
OUTPUT_NODE = True
@@ -512,7 +512,7 @@ class DisplayAny:
def execute(self, input):
text = str(input)
return {"ui": {"text": text}, "result": ()}
return {"ui": {"text": text}, "result": (text,)}
MISC_CLASS_MAPPINGS = {
"BatchCount+": BatchCount,