We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9bb85f commit b79f6c0Copy full SHA for b79f6c0
1 file changed
src/greaseweazle/image/apridisk.py
@@ -17,7 +17,7 @@
17
class Apridisk(IMG):
18
19
def from_bytes(self, dat: bytes) -> None:
20
- error.check(len(dat) >= 128, "Apridisk file missing 129 byte header")
+ error.check(len(dat) >= 128, "Apridisk file missing 128 byte header")
21
dat = dat[128:]
22
23
records = ApridiskRecord.split_apridisk_file(dat, self.fmt)
@@ -28,7 +28,7 @@ def from_bytes(self, dat: bytes) -> None:
28
29
class ApridiskRecord:
30
def __init__(self, data: bytes, fmt: codec.DiskDef):
31
- error.check(len(data) >= 16, "Apridisk record contains no header")
+ error.check(len(data) >= 16, "Apridisk record contains no section header")
32
33
self.fmt = fmt
34
self.itm_type = ApridiskSecType.from_bytes(data[:4])
0 commit comments