mirror of
https://github.com/a2-4am/passport.py.git
synced 2024-12-26 19:29:45 +00:00
initialize tracks in eddimage
This commit is contained in:
parent
5255a1a990
commit
88c3224f72
@ -8,6 +8,7 @@ class EDDSeekError(EDDError): pass
|
||||
|
||||
class EDDReader:
|
||||
def __init__(self, iostream):
|
||||
self.tracks = []
|
||||
for i in range(137):
|
||||
raw_bytes = iostream.read(16384)
|
||||
raise_if(len(raw_bytes) != 16384, EDDLengthError, "Bad EDD file (did you image by quarter tracks?)")
|
||||
|
Loading…
Reference in New Issue
Block a user