Add .ibook*s* as a recognized ebook format as well

This commit is contained in:
Kovid Goyal 2014-05-17 22:07:27 +05:30
parent 15698f60a7
commit 06f3640ceb
2 changed files with 2 additions and 2 deletions

View File

@ -1382,4 +1382,4 @@ application/vnd.ms-opentype otf
application/font-woff woff
application/x-font-truetype ttf
text/xml plist
application/x-ibooks+zip ibook
application/x-ibooks+zip ibook ibooks

View File

@ -31,7 +31,7 @@ BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'txtz', 'text', 'ht
'epub', 'fb2', 'djv', 'djvu', 'lrx', 'cbr', 'cbz', 'cbc', 'oebzip',
'rb', 'imp', 'odt', 'chm', 'tpz', 'azw1', 'pml', 'pmlz', 'mbp', 'tan', 'snb',
'xps', 'oxps', 'azw4', 'book', 'zbf', 'pobi', 'docx', 'docm', 'md',
'textile', 'markdown', 'ibook', 'iba', 'azw3', 'ps', 'kepub']
'textile', 'markdown', 'ibook', 'ibooks', 'iba', 'azw3', 'ps', 'kepub']
class HTMLRenderer(object):