Skip to content

Commit e4795ca

Browse files
committed
fix: do not assume BLF files only contain log containers
1 parent b4f82ab commit e4795ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

can/io/blf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ def __iter__(self) -> Generator[Message, None, None]:
202202
LOG.warning("Unknown compression method (%d)", method)
203203
continue
204204
yield from self._parse_container(data)
205+
else:
206+
yield from self._parse_data(data + obj_data)
205207
self.stop()
206208

207209
def _parse_container(self, data: bytes) -> Iterator[Message]:

0 commit comments

Comments
 (0)