mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Oops
This commit is contained in:
parent
ebcab0d2d3
commit
124fb1e67c
@ -790,7 +790,7 @@ class Manifest(object):
|
||||
data = first_pass(data)
|
||||
# Force into the XHTML namespace
|
||||
if barename(data.tag) != 'html':
|
||||
self.log.warn('File %r does not appear to be (X)HTML'%self.href)
|
||||
self.oeb.log.warn('File %r does not appear to be (X)HTML'%self.href)
|
||||
nroot = etree.fromstring('<html></html>')
|
||||
for child in list(data):
|
||||
child.getparent.remove(child)
|
||||
|
Loading…
x
Reference in New Issue
Block a user