Fix Nook windows driver

This commit is contained in:
Kovid Goyal 2009-12-07 15:41:47 -07:00
parent 85df3fb0e6
commit 3de177db32
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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