mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-02 00:51:41 +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:
|
except UnsupportedDiskImage, e:
|
||||||
print "%s: %s" % (filename, e)
|
print "%s: %s" % (filename, e)
|
||||||
return None
|
return None
|
||||||
|
except IOError, e:
|
||||||
|
print "%s: %s" % (filename, e)
|
||||||
|
return None
|
||||||
else:
|
else:
|
||||||
parser.image.filename = filename
|
parser.image.filename = filename
|
||||||
parser.image.ext = ""
|
parser.image.ext = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user