mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ef375dd42f
commit
2c333bdf84
@ -200,7 +200,10 @@ class ANDROID(USBMS):
|
||||
return dirs
|
||||
|
||||
def windows_sort_drives(self, drives):
|
||||
vid, pid, bcd = self.device_being_opened[:3]
|
||||
try:
|
||||
vid, pid, bcd = self.device_being_opened[:3]
|
||||
except:
|
||||
vid, pid, bcd = -1, -1, -1
|
||||
if (vid, pid, bcd) == (0x0e79, 0x1408, 0x0222):
|
||||
letter_a = drives.get('carda', None)
|
||||
if letter_a is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user