From 90177a42053f29c302faf7483de6dd3fc455d400 Mon Sep 17 00:00:00 2001 From: ldolse Date: Sat, 8 Jan 2011 09:23:32 +0800 Subject: [PATCH] tweaked threshold for preprocess --- src/calibre/ebooks/conversion/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index f367aa02d7..5db920b01d 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -194,7 +194,7 @@ class PreProcessor(object): totalwords = 0 totalwords = self.get_word_count(html) - if totalwords < 20: + if totalwords < 50: self.log("not enough text, not preprocessing") return html