mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #896881 (archos E70B internal/carda memory swapped)
This commit is contained in:
parent
e082bf17f2
commit
ef375dd42f
@ -199,6 +199,15 @@ class ANDROID(USBMS):
|
||||
dirs = list(map(aldiko_tweak, dirs))
|
||||
return dirs
|
||||
|
||||
def windows_sort_drives(self, drives):
|
||||
vid, pid, bcd = self.device_being_opened[:3]
|
||||
if (vid, pid, bcd) == (0x0e79, 0x1408, 0x0222):
|
||||
letter_a = drives.get('carda', None)
|
||||
if letter_a is not None:
|
||||
drives['carda'] = drives['main']
|
||||
drives['main'] = letter_a
|
||||
return drives
|
||||
|
||||
class S60(USBMS):
|
||||
|
||||
name = 'S60 driver'
|
||||
|
Loading…
x
Reference in New Issue
Block a user