mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 19:03:39 +02:00
NOOK Driver: Support stoarge card.
This commit is contained in:
parent
44a78a9f0f
commit
25d1900458
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Reference in a new issue