mirror of
https://github.com/bkerler/edl.git
synced 2025-03-13 16:53:26 -04:00
cfg.SECTOR_SIZE_IN_BYTES is an attribut of the firehose instance
This commit is contained in:
parent
97fffcf4e3
commit
cce157c50c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class generic(metaclass=LogBase):
|
|||
if res[0]:
|
||||
lun = res[1]
|
||||
rpartition = res[2]
|
||||
if rpartition.sectors <= (0x8000//self.cfg.SECTOR_SIZE_IN_BYTES):
|
||||
if rpartition.sectors <= (0x8000//self.fh.cfg.SECTOR_SIZE_IN_BYTES):
|
||||
offsettopatch = 0x7FFF
|
||||
sector, offset = self.fh.calc_offset(rpartition.sector, offsettopatch)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue