From 1071194ce8913e9f75a12eb1347f8d21bec13002 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 9 Nov 2012 07:57:03 +0530 Subject: [PATCH] Add the Nook HD+ id only for osx since it appears to be MTP capable --- src/calibre/devices/nook/driver.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/calibre/devices/nook/driver.py b/src/calibre/devices/nook/driver.py index a47a487e1e..54f9151e4e 100644 --- a/src/calibre/devices/nook/driver.py +++ b/src/calibre/devices/nook/driver.py @@ -12,6 +12,7 @@ import os import cStringIO +from calibre.constants import isosx from calibre.devices.usbms.driver import USBMS class NOOK(USBMS): @@ -83,9 +84,9 @@ class NOOK(USBMS): class NOOK_COLOR(NOOK): description = _('Communicate with the Nook Color, TSR and Tablet eBook readers.') - PRODUCT_ID = [0x002, 0x003, 0x004, - # Nook HD+ - 0x005] + PRODUCT_ID = [0x002, 0x003, 0x004] + if isosx: + PRODUCT_ID.append(0x005) # Nook HD+ BCD = [0x216] WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['EBOOK_DISK', 'NOOK_TABLET',