mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Oops
This commit is contained in:
parent
ebcab0d2d3
commit
124fb1e67c
1 changed files with 1 additions and 1 deletions
|
|
@ -790,7 +790,7 @@ def first_pass(data):
|
|||
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…
Reference in a new issue