From 24cf886a6a249548e97f877812a2fd54834eb764 Mon Sep 17 00:00:00 2001 From: GRiker Date: Wed, 15 May 2013 09:58:56 -0600 Subject: [PATCH] Tweaked diagnostic in read() when error occurs --- src/calibre/devices/idevice/libimobiledevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/idevice/libimobiledevice.py b/src/calibre/devices/idevice/libimobiledevice.py index 9c76edcdf1..5de81b4d9b 100644 --- a/src/calibre/devices/idevice/libimobiledevice.py +++ b/src/calibre/devices/idevice/libimobiledevice.py @@ -531,7 +531,7 @@ class libiMobileDevice(): 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