mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Another unicode fix
This commit is contained in:
parent
69639a7034
commit
9233b2c13b
@ -211,7 +211,7 @@ class DefaultProfile(object):
|
||||
src = build_sub_index(category, articles[category])
|
||||
open(cfile, 'wb').write(src.encode(encoding))
|
||||
|
||||
src = '''\
|
||||
src = u'''\
|
||||
<html>
|
||||
<body>
|
||||
<h1>%(title)s</h1>
|
||||
|
@ -602,6 +602,7 @@ class LitFile(object):
|
||||
size, piece, remaining = encint(piece, remaining)
|
||||
|
||||
entry = DirectoryEntry(name, section, offset, size)
|
||||
|
||||
if name == '::DataSpace/NameList':
|
||||
self.read_section_names(entry)
|
||||
elif name == '/manifest':
|
||||
|
Loading…
x
Reference in New Issue
Block a user