From d354a085b8e06f3283231a18fecbf2ee775f52bd Mon Sep 17 00:00:00 2001 From: ldolse Date: Sun, 16 Jan 2011 01:53:49 +0800 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/input.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/calibre/ebooks/mobi/input.py b/src/calibre/ebooks/mobi/input.py index 4f3a087065..8188027e01 100644 --- a/src/calibre/ebooks/mobi/input.py +++ b/src/calibre/ebooks/mobi/input.py @@ -5,7 +5,6 @@ __docformat__ = 'restructuredtext en' import re from calibre.customize.conversion import InputFormatPlugin -from calibre.ebooks.conversion.utils import PreProcessor class MOBIInput(InputFormatPlugin): @@ -40,7 +39,3 @@ class MOBIInput(InputFormatPlugin): accelerators['pagebreaks'] = '//h:div[@class="mbp_pagebreak"]' return mr.created_opf_path - def heuristics(self, options, html): - self.options = options - preprocessor = PreProcessor(self.options, log=getattr(self, 'log', None)) - return preprocessor(html)