mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 09:25:38 +01:00
Merge pull request #2 from GRiker/master
Masked error returned from libiMobileDevice:idevice_get_device_list() to 16 bits.
This commit is contained in:
commit
65bf027bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -1276,7 +1276,7 @@ def _idevice_get_device_list(self):
|
|||
udid = c_char * self.UDID_SIZE
|
||||
devices = POINTER(POINTER(udid))()
|
||||
device_list = []
|
||||
error = self.lib.idevice_get_device_list(byref(devices), byref(count))
|
||||
error = self.lib.idevice_get_device_list(byref(devices), byref(count)) & 0xFFFF
|
||||
if error:
|
||||
if error == -3:
|
||||
if self.verbose:
|
||||
|
|
|
|||
Loading…
Reference in a new issue