fix generate string join issue (#2983)
### What problem does this PR solve? #2921 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
89d5b2414e
commit
320e8f6553
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class Generate(ComponentBase):
|
|||
if "content" not in out.columns:
|
||||
kwargs[para["key"]] = "Nothing"
|
||||
else:
|
||||
kwargs[para["key"]] = " - " + "\n - ".join(out["content"])
|
||||
kwargs[para["key"]] = " - "+"\n - ".join([o if isinstance(o, str) else str(o) for o in out["content"]])
|
||||
|
||||
kwargs["input"] = input
|
||||
for n, v in kwargs.items():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue