mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
...
This commit is contained in:
parent
ef375dd42f
commit
2c333bdf84
1 changed files with 4 additions and 1 deletions
|
|
@ -200,7 +200,10 @@ def aldiko_tweak(x):
|
|||
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…
Reference in a new issue