mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-02-27 03:28:58 +00:00
Fixed an argument list after refactoring
This commit is contained in:
parent
3e3a547634
commit
1262e23df6
@ -356,7 +356,7 @@ class DiskImageBase(object):
|
|||||||
|
|
||||||
def build_sectors(self, data):
|
def build_sectors(self, data):
|
||||||
data = to_numpy(data)
|
data = to_numpy(data)
|
||||||
sectors = BaseSectorList(self.header.sector_size)
|
sectors = BaseSectorList(self.header)
|
||||||
index = 0
|
index = 0
|
||||||
while index < len(data):
|
while index < len(data):
|
||||||
count = min(self.header.payload_bytes, len(data) - index)
|
count = min(self.header.payload_bytes, len(data) - index)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user