Skip to content

Commit b79f6c0

Browse files
Fixed typo in apridisk file handling error message.
1 parent d9bb85f commit b79f6c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/greaseweazle/image/apridisk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class Apridisk(IMG):
1818

1919
def from_bytes(self, dat: bytes) -> None:
20-
error.check(len(dat) >= 128, "Apridisk file missing 129 byte header")
20+
error.check(len(dat) >= 128, "Apridisk file missing 128 byte header")
2121
dat = dat[128:]
2222

2323
records = ApridiskRecord.split_apridisk_file(dat, self.fmt)
@@ -28,7 +28,7 @@ def from_bytes(self, dat: bytes) -> None:
2828

2929
class ApridiskRecord:
3030
def __init__(self, data: bytes, fmt: codec.DiskDef):
31-
error.check(len(data) >= 16, "Apridisk record contains no header")
31+
error.check(len(data) >= 16, "Apridisk record contains no section header")
3232

3333
self.fmt = fmt
3434
self.itm_type = ApridiskSecType.from_bytes(data[:4])

0 commit comments

Comments
 (0)