Use djvu_html5 to read djvu format in browser

This commit is contained in:
verglor
2020-11-15 13:19:37 +01:00
parent 09a5a69f86
commit 2343c79126
4 changed files with 8 additions and 5 deletions

View File

@ -198,7 +198,7 @@ def check_send_to_kindle(entry):
# Check if a reader is existing for any of the book formats, if not, return empty list, otherwise return
# list with supported formats
def check_read_formats(entry):
EXTENSIONS_READER = {'TXT', 'PDF', 'EPUB', 'CBZ', 'CBT', 'CBR'}
EXTENSIONS_READER = {'TXT', 'PDF', 'EPUB', 'CBZ', 'CBT', 'CBR', 'DJVU'}
bookformats = list()
if len(entry.data):
for ele in iter(entry.data):