Skip to content

Commit

Permalink
Fix #88 for Python 3 (cPython) as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazza committed Apr 23, 2021
1 parent 0d29f62 commit e1a5d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recuperabit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def sectors(image, offset, size, bsize=sector_size, fill=True):
read = True
try:
image.seek(offset * bsize)
except (IOError, OverflowError):
except (IOError, OverflowError, ValueError):
read = False
if read:
try:
Expand Down

0 comments on commit e1a5d1d

Please sign in to comment.