mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tweaked diagnostic in read() when error occurs
This commit is contained in:
parent
7b9c3fd167
commit
24cf886a6a
@ -531,7 +531,7 @@ class libiMobileDevice():
|
|||||||
else:
|
else:
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
self.log(" could not open file")
|
self.log(" could not open file")
|
||||||
raise libiMobileDeviceIOException("could not open file '%s' for reading" % path)
|
raise libiMobileDeviceIOException("could not open file %s for reading" % repr(path))
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user