mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 02:44:01 +02:00
...
This commit is contained in:
parent
b19169d192
commit
e1cf2a1bb5
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ def _spine_from_opf(self, opf):
|
|||
for item in spine:
|
||||
if item.media_type.lower() not in OEB_DOCS:
|
||||
if not hasattr(item.data, 'xpath'):
|
||||
self.oeb.log.warn('The item %s is not an XML document.'
|
||||
self.oeb.log.warn('The item %s is not a XML document.'
|
||||
' Removing it from spine.'%item.href)
|
||||
spine.remove(item)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue