mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
NOOK Driver: Support stoarge card.
This commit is contained in:
parent
44a78a9f0f
commit
25d1900458
@ -27,6 +27,7 @@ class NOOK(USBMS):
|
||||
|
||||
VENDOR_NAME = 'B&N'
|
||||
WINDOWS_MAIN_MEM = 'NOOK'
|
||||
WINDOWS_CARD_A_MEM = 'NOOK'
|
||||
|
||||
#OSX_MAIN_MEM = ''
|
||||
|
||||
@ -34,3 +35,12 @@ class NOOK(USBMS):
|
||||
|
||||
EBOOK_DIR_MAIN = 'my documents'
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
|
||||
def windows_sort_drives(self, drives):
|
||||
main = drives.get('main', None)
|
||||
card = drives.get('carda', None)
|
||||
if card and main and card < main:
|
||||
drives['main'] = card
|
||||
drives['carda'] = main
|
||||
|
||||
return drives
|
||||
|
Loading…
x
Reference in New Issue
Block a user