Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaHutter committed Sep 16, 2024
1 parent 00f34bc commit dc1f8a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openeo_processes_dask/process_implementations/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ def text_concat(data: list[Any], separator: Any) -> str:
string += str(separator).lower()
else:
string += str(separator)

return string
if separator == "":
return string
else:
return string[:-len(str(separator))]

0 comments on commit dc1f8a3

Please sign in to comment.