From 3e2161df68ed187add01f6be191e6add3da4840e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 29 May 2019 19:16:18 +0530 Subject: [PATCH] Driver for the new NOOK Glowlight Plus --- src/calibre/devices/nook/driver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/nook/driver.py b/src/calibre/devices/nook/driver.py index 6e40b2974d..21490bb826 100644 --- a/src/calibre/devices/nook/driver.py +++ b/src/calibre/devices/nook/driver.py @@ -92,6 +92,7 @@ class NOOK_COLOR(NOOK): 0x005, # Nook HD+ 0x007, # Glowlight from 2013 0xb, # Glowlight from 2017 + 0xc, # Glowlight from 2019 ] BCD = [0x216, 0x9999] @@ -108,7 +109,7 @@ class NOOK_COLOR(NOOK): product_id = self.device_being_opened[1] if DEBUG: prints('Opened NOOK with product id:', product_id) - if product_id == 0xb: + if product_id in (0xb, 0xc): if DEBUG: prints('Setting Nook upload directory to NOOK/My Files') self.EBOOK_DIR_MAIN = 'NOOK/My Files'