diff --git a/src/calibre/utils/chm/chm.py b/src/calibre/utils/chm/chm.py index be7c55c791..fbcecfd150 100644 --- a/src/calibre/utils/chm/chm.py +++ b/src/calibre/utils/chm/chm.py @@ -406,7 +406,7 @@ class CHMFile: st = long_type(start) return chmlib.chm_retrieve_object(self.file, ui, st, len) else: - return (0, '') + return 0, b'' def IsSearchable(self): '''Indicates if the full-text search is available for this