mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:43:51 +02:00
IGN:...
This commit is contained in:
parent
764cf7b8d1
commit
6e12b3e711
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ def test_bcd_windows(self, device_id, bcd):
|
|||
return True
|
||||
for c in bcd:
|
||||
# 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:
|
||||
return True
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue