From 78814e1af0dac02a03cca6dea5ede6bf08c31eb0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 9 May 2024 03:59:09 +0200 Subject: [PATCH] remove empty input workaround --- py/string_function.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/py/string_function.py b/py/string_function.py index b315039..3f054b7 100644 --- a/py/string_function.py +++ b/py/string_function.py @@ -20,15 +20,7 @@ class StringFunction: CATEGORY = "utils" OUTPUT_NODE = True - def exec(self, action, tidy_tags, text_a="", text_b="", text_c=""): - # Converted inputs are sent as the string of 'undefined' if not connected - if text_a == "undefined": - text_a = "" - if text_b == "undefined": - text_b = "" - if text_c == "undefined": - text_c = "" - + def exec(self, action, tidy_tags, text_a="", text_b="", text_c=""): tidy_tags = tidy_tags == "yes" out = "" if action == "append":