mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Nook HD+ not being detected on windows
This commit is contained in:
parent
929595c805
commit
a952cdd548
@ -13,7 +13,6 @@ import os
|
||||
import cStringIO
|
||||
|
||||
from calibre import fsync
|
||||
from calibre.constants import isosx
|
||||
from calibre.devices.usbms.driver import USBMS
|
||||
|
||||
|
||||
@ -88,11 +87,11 @@ class NOOK_COLOR(NOOK):
|
||||
name = 'Nook Color Device Interface'
|
||||
description = _('Communicate with the Nook Color, TSR, Glowlight and Tablet eBook readers.')
|
||||
|
||||
PRODUCT_ID = [0x002, 0x003, 0x004,
|
||||
# Glowlight from 2013
|
||||
0x007]
|
||||
if isosx:
|
||||
PRODUCT_ID.append(0x005) # Nook HD+
|
||||
PRODUCT_ID = [
|
||||
0x002, 0x003, 0x004,
|
||||
0x005, # Nook HD+
|
||||
0x007, # Glowlight from 2013
|
||||
]
|
||||
BCD = [0x216]
|
||||
|
||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['EBOOK_DISK', 'NOOK_TABLET',
|
||||
@ -115,4 +114,3 @@ class NOOK_COLOR(NOOK):
|
||||
path = os.path.join(path, subdir)
|
||||
return USBMS.create_upload_path(self, path, mdata, fname,
|
||||
create_dirs=create_dirs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user