corrected returns

This commit is contained in:
OuticNZ
2024-05-26 21:52:59 +12:00
parent 73a4892800
commit 1f242c5877
+3 -3
View File
@@ -18,8 +18,8 @@ class TextSwitch2Way:
if text1 is None or text1 == "":
if text2 is None or text2 == "":
return ""
return ("",)
else:
return text2
return (text2,)
else:
return text1
return (text1,)