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

few small fixes

parent 6b98283a
No related branches found
No related tags found
No related merge requests found
.idea
.eggs
.cache
build
......
......@@ -36,7 +36,7 @@ def split_stream(stream, minutes):
cur_bucket = pkt_bucket
# this is an append operation
buf += pkt.bytes()
buf.extend(pkt.bytes())
pkt_count += 1
yield cur_bucket, pkt_count, buf
......
......@@ -99,7 +99,7 @@ class BasicStream(object):
data = self._read(data_size)
else:
data = None
self.fobj.seek(data_size, os.SEEK_CUR)
self.file.seek(data_size, os.SEEK_CUR)
return self.Tracker(h1, h2, total_size, offset, data)
......
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