mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 05:15:59 +01:00
Tweaked diagnostic in read() when error occurs
This commit is contained in:
parent
7b9c3fd167
commit
24cf886a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ def read(self, path, mode='r'):
|
|||
else:
|
||||
if self.verbose:
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue