mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Improvement for #1062
This commit is contained in:
parent
c740fe9124
commit
2145be6db2
@ -183,7 +183,7 @@ def check_read_formats(entry):
|
|||||||
bookformats = list()
|
bookformats = list()
|
||||||
if len(entry.data):
|
if len(entry.data):
|
||||||
for ele in iter(entry.data):
|
for ele in iter(entry.data):
|
||||||
if ele.format in EXTENSIONS_READER:
|
if ele.format.upper() in EXTENSIONS_READER:
|
||||||
bookformats.append(ele.format.lower())
|
bookformats.append(ele.format.lower())
|
||||||
return bookformats
|
return bookformats
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user