We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46d1595 + 417bac1 commit e5df5fbCopy full SHA for e5df5fb
nixio/property.py
@@ -231,6 +231,8 @@ def odml_type(self, new_type):
231
232
def _read_old_values(self):
233
val = self._h5dataset.dataset[:]
234
+ if len(val) > 0 and isinstance(val[0]["value"], bytes):
235
+ return tuple(ensure_str(v["value"]) for v in val)
236
return tuple(v["value"] for v in val)
237
238
@property
0 commit comments