mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-29 11:51:14 +00:00
Added check for read error in find_diskimage
This commit is contained in:
parent
052e084d1d
commit
90c31a3672
@ -72,6 +72,9 @@ def find_diskimage(filename):
|
||||
except UnsupportedDiskImage, e:
|
||||
print "%s: %s" % (filename, e)
|
||||
return None
|
||||
except IOError, e:
|
||||
print "%s: %s" % (filename, e)
|
||||
return None
|
||||
else:
|
||||
parser.image.filename = filename
|
||||
parser.image.ext = ""
|
||||
|
Loading…
Reference in New Issue
Block a user