mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix main memory and storage card detection order for BeBook on windows
This commit is contained in:
parent
b6e7713fe3
commit
7e2dd6e5b9
@ -35,12 +35,10 @@ class BEBOOK(USBMS):
|
||||
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
|
||||
FDI_LUNS = {'lun0':1, 'lun1':0, 'lun2':2}
|
||||
|
||||
def windows_sort_drives(self, drives):
|
||||
main = drives.get('main', None)
|
||||
card = drives.get('carda', None)
|
||||
if card and main and card < main:
|
||||
if card and main and card > main:
|
||||
drives['main'] = card
|
||||
drives['carda'] = main
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user