Fixed off-by-one error reading sectors

This commit is contained in:
Rob McMullen 2015-10-16 10:12:44 -07:00
parent 216f31b173
commit 12c01f3345
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class AtrDiskImage(object):
pos, size = self.header.get_pos(start)
if end is None:
end = start
while start <= end:
while start < end:
start += 1
_, more = self.header.get_pos(start)
size += more