Commit 2145be6d authored by Ozzieisaacs's avatar Ozzieisaacs

Improvement for #1062

parent c740fe91
...@@ -183,7 +183,7 @@ def check_read_formats(entry): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment