Skip to content
Snippets Groups Projects
Commit 01fc7dcc authored by Bruce Flynn's avatar Bruce Flynn
Browse files

Fix bad method call in trunc

parent 7cb7b659
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,8 @@ from edosl0util.stream import PacketStream ...@@ -6,7 +6,8 @@ from edosl0util.stream import PacketStream
def trunc_stream(stream, start, end): def trunc_stream(stream, start, end):
stream.seek(start) stream.seek_to(start)
stream.seek_to_next_stamp()
pkt = stream.next() pkt = stream.next()
while pkt.stamp <= end: while pkt.stamp <= end:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment