Skip to content

Commit

Permalink
ci: fix too long line
Browse files Browse the repository at this point in the history
  • Loading branch information
hermankolden committed Jun 29, 2024
1 parent 30b32ec commit 1d433bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyulog/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ def _make_data_items(self):
field_encoding = self._UNPACK_TYPES[field_type][0]
field_data = data_set.data[field_name][i_sample]

# For char type, convert np.int8 into single bytes() object so that struct.pack can handle it
# For char type, convert np.int8 into single bytes() object
# so that struct.pack can handle it
if field_encoding == 'c':
field_data = bytes(chr(field_data), 'utf-8')

Expand Down

0 comments on commit 1d433bc

Please sign in to comment.