mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-24 23:35:01 -05:00
IGN:...
This commit is contained in:
parent
764cf7b8d1
commit
6e12b3e711
@ -44,7 +44,7 @@ class DeviceScanner(object):
|
|||||||
return True
|
return True
|
||||||
for c in bcd:
|
for c in bcd:
|
||||||
# Bug in winutil.get_usb_devices converts a to :
|
# Bug in winutil.get_usb_devices converts a to :
|
||||||
rev = ('rev_%4.4x'%c).replace(':', 'a')
|
rev = ('rev_%4.4x'%c).replace('a', ':')
|
||||||
if rev in device_id:
|
if rev in device_id:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user