mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Bookeen Saga not being recognized on macOS/Linux. Fixes #1769681 [New device "Bookeen Saga" not detected](https://bugs.launchpad.net/calibre/+bug/1769681)
This commit is contained in:
parent
3b1238325d
commit
2a406cb55d
@ -79,8 +79,8 @@ class ORIZON(CYBOOK):
|
|||||||
EBOOK_DIR_MAIN = EBOOK_DIR_CARD_A = 'Digital Editions'
|
EBOOK_DIR_MAIN = EBOOK_DIR_CARD_A = 'Digital Editions'
|
||||||
|
|
||||||
EXTRA_CUSTOMIZATION_MESSAGE = [
|
EXTRA_CUSTOMIZATION_MESSAGE = [
|
||||||
_('Card A folder') + ':::<p>' +
|
_('Card A folder') + ':::<p>' + _(
|
||||||
_('Enter the folder where the books are to be stored when sent to the '
|
'Enter the folder where the books are to be stored when sent to the '
|
||||||
'memory card. This folder is prepended to any send to device template') + '</p>',
|
'memory card. This folder is prepended to any send to device template') + '</p>',
|
||||||
]
|
]
|
||||||
EXTRA_CUSTOMIZATION_DEFAULT = [EBOOK_DIR_CARD_A]
|
EXTRA_CUSTOMIZATION_DEFAULT = [EBOOK_DIR_CARD_A]
|
||||||
@ -136,5 +136,5 @@ class MUSE(CYBOOK):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def can_handle(cls, device_info, debug=False):
|
def can_handle(cls, device_info, debug=False):
|
||||||
if isunix:
|
if isunix:
|
||||||
return device_info[3] == 'Bookeen' and device_info[4] in ('Cybook', 'Lev', 'Nolimbook', 'Letto', 'Nolim')
|
return device_info[3] == 'Bookeen' and device_info[4] in ('Cybook', 'Lev', 'Nolimbook', 'Letto', 'Nolim', 'Saga')
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user