Fixed namespace error of ByteNotInFile166

This commit is contained in:
Rob McMullen 2018-07-20 08:04:54 -07:00
parent 80d47573bb
commit 53e937c870
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class DiskImageBase:
def assert_valid_sector(self, sector):
if not self.header.sector_is_valid(sector):
raise ByteNotInFile166("Sector %d out of range" % sector)
raise errors.ByteNotInFile166("Sector %d out of range" % sector)
def check_sane(self):
if not self.all_sane: