From 80ed2e7d4ee1f94b6f6ffe1297b7058345a8d22a Mon Sep 17 00:00:00 2001 From: ldolse Date: Fri, 14 Jan 2011 22:32:03 +0800 Subject: [PATCH] ... --- src/calibre/ebooks/conversion/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index 44d4235b6c..bfb23c45aa 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -299,8 +299,7 @@ class PreProcessor(object): blanklines = blankreg.findall(html) lines = linereg.findall(html) blanks_between_paragraphs = False - if getattr(self.extra_opts, 'delete_blank_paragraphs', False): - print "configured to delete blank paragraphs" + print "delete blank paragraphs is "+str(getattr(self.extra_opts, 'delete_blank_paragraphs', True)) if len(lines) > 1: self.log("There are " + unicode(len(blanklines)) + " blank lines. " + unicode(float(len(blanklines)) / float(len(lines))) + " percent blank")