Fix StringListJoin treating sep as a list
StringListJoin has no INPUT_IS_LIST, so sep is a plain string; sep[0] was taking only the first character.
This commit is contained in:
@@ -752,8 +752,7 @@ class StringListJoin(ComfyNodeABC):
|
||||
FUNCTION = "join"
|
||||
|
||||
def join(self, sep, strings):
|
||||
separator = sep[0] # everything comes as a list, so sep is list[str]
|
||||
return (separator.join(strings),)
|
||||
return (sep.join(strings),)
|
||||
|
||||
|
||||
class StringLjust(ComfyNodeABC):
|
||||
|
||||
Reference in New Issue
Block a user