mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Merge branch 'master' of https://github.com/GRiker/calibre
This commit is contained in:
commit
5fbd225f25
@ -219,7 +219,7 @@ class libiMobileDevice():
|
||||
self.device_connected = True
|
||||
|
||||
except libiMobileDeviceException as e:
|
||||
self._log(e.value)
|
||||
self._log_error(e.value)
|
||||
self.disconnect_idevice()
|
||||
|
||||
return self.device_connected
|
||||
@ -501,7 +501,7 @@ class libiMobileDevice():
|
||||
self.device_mounted = True
|
||||
|
||||
except libiMobileDeviceException as e:
|
||||
self._log(e.value)
|
||||
self._log_error(e.value)
|
||||
self.disconnect_idevice()
|
||||
|
||||
elif app_id:
|
||||
@ -518,7 +518,7 @@ class libiMobileDevice():
|
||||
self.device_mounted = True
|
||||
|
||||
except libiMobileDeviceException as e:
|
||||
self._log(e.value)
|
||||
self._log_error("{0}: {1}".format(app_id, e.value))
|
||||
self.disconnect_idevice()
|
||||
|
||||
if self.device_mounted:
|
||||
|
Loading…
x
Reference in New Issue
Block a user