mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 05:12:35 +02:00
...
This commit is contained in:
parent
686bf72fe1
commit
07c2c5d905
1 changed files with 0 additions and 7 deletions
|
|
@ -262,13 +262,6 @@ class HTMLInput(InputFormatPlugin):
|
|||
),
|
||||
])
|
||||
|
||||
def decode(self, raw):
|
||||
if self.opts.input_encoding:
|
||||
raw = raw.decode(self.opts.input_encoding, 'replace')
|
||||
print 111111, type(raw)
|
||||
return xml_to_unicode(raw, verbose=self.opts.verbose,
|
||||
strip_encoding_pats=True, resolve_entities=True)[0]
|
||||
|
||||
def convert(self, stream, opts, file_ext, log,
|
||||
accelerators):
|
||||
from calibre.ebooks.metadata.meta import get_metadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue