mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-05 10:24:37 +01:00
...
This commit is contained in:
parent
7cce3562ab
commit
3f8460c2d4
1 changed files with 3 additions and 0 deletions
|
|
@ -69,6 +69,9 @@ def fix_opf(self, container):
|
|||
container.insert_into_xml(metadata, metadata.makeelement(DC('description')))
|
||||
metadata[-1].text = 'Comprehensive documentation for calibre'
|
||||
|
||||
# Remove search.html since it is useless in EPUB
|
||||
container.remove_item('search.html')
|
||||
|
||||
# Remove unreferenced files
|
||||
for error in check_links(container):
|
||||
if error.__class__ is UnreferencedResource:
|
||||
|
|
|
|||
Loading…
Reference in a new issue