Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ajelenak committed Aug 4, 2024
1 parent e2c26a5 commit 4dab099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/h5json/hdf5db.py
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,7 @@ def getDatasetValuesByUuid(self, obj_uuid, slices=Ellipsis, format="json"):
raise IOError(errno.EINVAL, msg)
# numpy object type - could be a vlen string or generic vlen
h5t_check = h5py.h5t.check_dtype(vlen=dt)
if h5t_check == str or h5t_check == bytes:
if h5t_check is str or h5t_check is bytes:
values = self.bytesArrayToList(dset[slices])
elif h5t_check is not None:
# other vlen data
Expand Down

0 comments on commit 4dab099

Please sign in to comment.