This commit is contained in:
Kovid Goyal 2016-03-16 21:56:33 +05:30
parent 3e94eb094a
commit 1cb84998bc

View File

@ -50,7 +50,8 @@ class Container(ContainerBase):
ContainerBase.__init__(self, tdir, opfpath, log) ContainerBase.__init__(self, tdir, opfpath, log)
excluded_names = { excluded_names = {
name for name, mt in self.mime_map.iteritems() if name for name, mt in self.mime_map.iteritems() if
name == self.opf_name or mt == guess_type('a.ncx') or name.startswith('META-INF/') name == self.opf_name or mt == guess_type('a.ncx') or name.startswith('META-INF/') or
name == 'mimetype'
} }
self.book_render_data = data = { self.book_render_data = data = {
'version': RENDER_VERSION, 'version': RENDER_VERSION,