From 3de177db32b59054503a9090fec2dfbfeff34057 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 7 Dec 2009 15:41:47 -0700 Subject: [PATCH] Fix Nook windows driver --- src/calibre/devices/kindle/driver.py | 2 +- src/calibre/devices/nook/driver.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/kindle/driver.py b/src/calibre/devices/kindle/driver.py index 054e0b4c76..de4ff19733 100644 --- a/src/calibre/devices/kindle/driver.py +++ b/src/calibre/devices/kindle/driver.py @@ -19,7 +19,7 @@ class KINDLE(USBMS): name = 'Kindle Device Interface' gui_name = 'Amazon Kindle' description = _('Communicate with the Kindle eBook reader.') - author = _('John Schember') + author = 'John Schember' supported_platforms = ['windows', 'osx', 'linux'] # Ordered list of supported formats diff --git a/src/calibre/devices/nook/driver.py b/src/calibre/devices/nook/driver.py index 56d34dc0e6..31ea49d991 100644 --- a/src/calibre/devices/nook/driver.py +++ b/src/calibre/devices/nook/driver.py @@ -45,3 +45,8 @@ class NOOK(USBMS): drives['carda'] = main return drives + + def windows_open_callback(self, drives): + if 'main' not in drives and 'carda' in drives: + drives['main'] = drives.pop('carda') + return drives