1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-16 08:07:40 +00:00

Fixes for comic reader

This commit is contained in:
Ozzieisaacs
2020-05-02 09:32:53 +02:00
parent 0a92d79ec0
commit 9bc085a23e
7 changed files with 31 additions and 39 deletions

View File

@@ -173,14 +173,13 @@ def check_send_to_kindle(entry):
bookformats.append({'format': 'Pdf',
'convert': 0,
'text': _('Send %(format)s to Kindle', format='Pdf')})
if config.config_ebookconverter >= 1:
if config.config_ebookconverter == 2:
if 'EPUB' in formats and not 'MOBI' in formats:
bookformats.append({'format': 'Mobi',
'convert':1,
'text': _('Convert %(orig)s to %(format)s and send to Kindle',
orig='Epub',
format='Mobi')})
if config.config_ebookconverter == 2:
if 'AZW3' in formats and not 'MOBI' in formats:
bookformats.append({'format': 'Mobi',
'convert': 2,