mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix #8651 (error message when trying to create catalogue on Pocketbook 903)
This commit is contained in:
commit
1cec2afd12
@ -21,6 +21,7 @@ from calibre.devices.usbms.driver import USBMS
|
|||||||
class EB600(USBMS):
|
class EB600(USBMS):
|
||||||
|
|
||||||
name = 'Netronix EB600 Device Interface'
|
name = 'Netronix EB600 Device Interface'
|
||||||
|
gui_name = 'Netronix EB600'
|
||||||
description = _('Communicate with the EB600 eBook reader.')
|
description = _('Communicate with the EB600 eBook reader.')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
@ -275,7 +275,7 @@ def generate_catalog(parent, dbspec, ids, device_manager, db):
|
|||||||
|
|
||||||
if device_manager.is_device_connected:
|
if device_manager.is_device_connected:
|
||||||
device = device_manager.device
|
device = device_manager.device
|
||||||
connected_device['name'] = device.gui_name
|
connected_device['name'] = device.get_gui_name()
|
||||||
try:
|
try:
|
||||||
storage = []
|
storage = []
|
||||||
if device._main_prefix:
|
if device._main_prefix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user