From 981a79ac344fa4b0d854293522211969a1351c70 Mon Sep 17 00:00:00 2001 From: James Ralston <> Date: Mon, 8 Feb 2010 20:35:28 -0800 Subject: [PATCH] Modified chm.py --- src/calibre/ebooks/chm/chm/chm.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/chm/chm/chm.py b/src/calibre/ebooks/chm/chm/chm.py index 4a55c6d7de..bed89af944 100644 --- a/src/calibre/ebooks/chm/chm/chm.py +++ b/src/calibre/ebooks/chm/chm/chm.py @@ -243,7 +243,9 @@ class CHMFile: from LoadCHM. ''' - self.searchable = extra.is_searchable (self.file) + #extra.is_searchable crashed... + #self.searchable = extra.is_searchable (self.file) + self.searchable = False self.lcid = None result, ui = chmlib.chm_resolve_object(self.file, '/#SYSTEM') @@ -367,7 +369,8 @@ class CHMFile: The UnitInfo is used to retrieve the document contents ''' if self.file: - path = os.path.abspath(document) + #path = os.path.abspath(document) + path = document return chmlib.chm_resolve_object(self.file, path) else: return (1, None)