Tweaked diagnostic in read() when error occurs

This commit is contained in:
GRiker 2013-05-15 09:58:56 -06:00
parent 7b9c3fd167
commit 24cf886a6a

View File

@ -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