We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f1aca commit c6f4da9Copy full SHA for c6f4da9
1 file changed
climada/util/hdf5_handler.py
@@ -89,7 +89,7 @@ def get_string(array):
89
-------
90
string
91
"""
92
- return "".join(chr(int(c[0])) for c in array)
+ return "".join(chr(int(c.item())) for c in array)
93
94
95
def get_str_from_ref(file_name, var):
0 commit comments