From a5cdad2705dbfe5128f0ee4057f85c7196036888 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 13 Feb 2011 16:58:15 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/txt/input.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/txt/input.py b/src/calibre/ebooks/txt/input.py index 14a21471de..9b3f9c32ab 100644 --- a/src/calibre/ebooks/txt/input.py +++ b/src/calibre/ebooks/txt/input.py @@ -210,9 +210,11 @@ class TXTInput(InputFormatPlugin): oeb = html_input.convert(open(htmlfile.name, 'rb'), options, 'html', log, {}) # Add images from from txtz archive to oeb. - for image, mime in images: - id, href = oeb.manifest.generate(id='image', href=image) - oeb.manifest.add(id, href, mime) + # Disabled as the conversion pipeline adds unmanifested items that are + # referred to in the content automatically + #for image, mime in images: + # id, href = oeb.manifest.generate(id='image', href=image) + # oeb.manifest.add(id, href, mime) options.debug_pipeline = odi os.remove(htmlfile.name)