mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 08:36:10 +01:00
Fix #4357 (iRiver Story not recognized by Calibre)
This commit is contained in:
parent
c5fa78d868
commit
42765deb10
1 changed files with 2 additions and 1 deletions
|
|
@ -260,7 +260,8 @@ def matches_q(drive, attr):
|
|||
# if the device is connected without a card, the above
|
||||
# will incorrectly identify the main mem as carda
|
||||
# See for example the driver for the Nook
|
||||
if 'main' not in drives and 'carda' in drives:
|
||||
if drives.get('carda', None) is not None and \
|
||||
drives.get('main', None) is None:
|
||||
drives['main'] = drives.pop('carda')
|
||||
|
||||
drives = self.windows_open_callback(drives)
|
||||
|
|
|
|||
Loading…
Reference in a new issue