diff options
-rw-r--r-- | Lib/chunk.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py index 0a9abd2..320339e 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -61,6 +61,7 @@ class Chunk: self.chunksize = struct.unpack('>l', file.read(4))[0] except struct.error: raise EOFError + self.chunksize = self.chunksize - 8 # subtract header self.size_read = 0 self.offset = self.file.tell() |