mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b19169d192
commit
e1cf2a1bb5
@ -324,7 +324,7 @@ class OEBReader(object):
|
|||||||
for item in spine:
|
for item in spine:
|
||||||
if item.media_type.lower() not in OEB_DOCS:
|
if item.media_type.lower() not in OEB_DOCS:
|
||||||
if not hasattr(item.data, 'xpath'):
|
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)
|
' Removing it from spine.'%item.href)
|
||||||
spine.remove(item)
|
spine.remove(item)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user