mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #4357 (iRiver Story not recognized by Calibre)
This commit is contained in:
parent
c5fa78d868
commit
42765deb10
@ -260,7 +260,8 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
# if the device is connected without a card, the above
|
# if the device is connected without a card, the above
|
||||||
# will incorrectly identify the main mem as carda
|
# will incorrectly identify the main mem as carda
|
||||||
# See for example the driver for the Nook
|
# 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['main'] = drives.pop('carda')
|
||||||
|
|
||||||
drives = self.windows_open_callback(drives)
|
drives = self.windows_open_callback(drives)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user