mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-07 00:15:19 +01:00
Fix #647
This commit is contained in:
parent
8d3c4f56c5
commit
0ce2844d4b
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ def fourth_pass(self):
|
|||
toc = self.soup.find('toc')
|
||||
if toc:
|
||||
for tag in toc.findAll('toclabel'):
|
||||
label = self.tag_to_string(tag).encode('ascii', 'ignore') # Bug in SONY reader software cant handle non ascii toc labels
|
||||
label = self.tag_to_string(tag)
|
||||
self.book.addTocEntry(label, self.parsed_objects[tag.get('refobj')])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue