From 655fcb828a823844a288e948aa46bce8594acb80 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 May 2010 06:51:25 -0600 Subject: [PATCH] Regression that broke CHM conversion of OS X. Fixes #5483 (Error when converting CHM to PDF) --- src/calibre/ebooks/html/input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/html/input.py b/src/calibre/ebooks/html/input.py index 35c0acc097..326afc00c0 100644 --- a/src/calibre/ebooks/html/input.py +++ b/src/calibre/ebooks/html/input.py @@ -292,7 +292,7 @@ class HTMLInput(InputFormatPlugin): encoding=opts.input_encoding) def is_case_sensitive(self, path): - if self._is_case_sensitive is not None: + if getattr(self, '_is_case_sensitive', None) is not None: return self._is_case_sensitive if not path or not os.path.exists(path): return islinux or isfreebsd