mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-27 10:26:03 +01:00
Fix Nook windows driver
This commit is contained in:
parent
85df3fb0e6
commit
3de177db32
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -45,3 +45,8 @@ def windows_sort_drives(self, drives):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue