mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Fix regexp match expand returning wrong type
This commit is contained in:
parent
0ca30c3c87
commit
87a4af84ae
@ -98,7 +98,7 @@ class RegexMatchExpand(CustomNode):
|
||||
|
||||
CATEGORY = "regular_expressions"
|
||||
FUNCTION = "execute"
|
||||
RETURN_TYPES = (MATCH_TYPE_NAME,)
|
||||
RETURN_TYPES = ("STRING",)
|
||||
|
||||
def execute(self, match: re.Match, template: str = "") -> tuple[str]:
|
||||
return match.expand(template),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user