Fix typo in attribute name (chunk_size should be chunksize) found by
Neil Norwitz's PyChecker.
This commit is contained in:
parent
ab0648ffc0
commit
0d1b7ea365
|
@ -106,7 +106,7 @@ class Chunk:
|
|||
if whence == 1:
|
||||
pos = pos + self.size_read
|
||||
elif whence == 2:
|
||||
pos = pos + self.chunk_size
|
||||
pos = pos + self.chunksize
|
||||
if pos < 0 or pos > self.chunksize:
|
||||
raise RuntimeError
|
||||
self.file.seek(self.offset + pos, 0)
|
||||
|
|
Loading…
Reference in New Issue