mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix bugs in Cybook/Kindle drivers
This commit is contained in:
commit
fec6cd442d
@ -32,6 +32,7 @@ class CYBOOKG3(USBMS):
|
||||
STORAGE_CARD_VOLUME_LABEL = 'Cybook Gen 3 Storage Card'
|
||||
|
||||
EBOOK_DIR_MAIN = "eBooks"
|
||||
EBOOK_DIR_CARD = "eBooks"
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
|
||||
def upload_books(self, files, names, on_card=False, end_session=True,
|
||||
|
@ -21,7 +21,10 @@ def string_to_authors(raw):
|
||||
return authors
|
||||
|
||||
def authors_to_string(authors):
|
||||
if authors is not None:
|
||||
return ' & '.join([a.replace('&', '&&') for a in authors])
|
||||
else:
|
||||
return ''
|
||||
|
||||
def author_to_author_sort(author):
|
||||
tokens = author.split()
|
||||
|
Loading…
x
Reference in New Issue
Block a user