Skip to content

Commit c6f4da9

Browse files
authored
Apply suggestion from @spjuhel
1 parent a5f1aca commit c6f4da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

climada/util/hdf5_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_string(array):
8989
-------
9090
string
9191
"""
92-
return "".join(chr(int(c[0])) for c in array)
92+
return "".join(chr(int(c.item())) for c in array)
9393

9494

9595
def get_str_from_ref(file_name, var):

0 commit comments

Comments
 (0)