Skip to content

Commit

Permalink
fix: cast result of ee.String.format to ee.String (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Oct 22, 2024
2 parents 86eb511 + de205cd commit ebe2b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geetools/String.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ def replace_format(kv, s):
pattern = ee.String("{").cat(key).cat(ee.String("}"))
return ee.String(s).replace(pattern, value)

return templateList.iterate(replace_format, self._obj)
return ee.String(templateList.iterate(replace_format, self._obj))

0 comments on commit ebe2b62

Please sign in to comment.