mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:43:44 +02:00
Fix #2555 (Lit output issues)
This commit is contained in:
parent
d17720383a
commit
7dd7ad65dd
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
'''
|
||||
Freeze app into executable using py2exe.
|
||||
'''
|
||||
QT_DIR = 'C:\\Qt\\4.4.3'
|
||||
QT_DIR = 'C:\\Qt\\4.5.1'
|
||||
LIBUSB_DIR = 'C:\\libusb'
|
||||
LIBUNRAR = 'C:\\Program Files\\UnrarDLL\\unrar.dll'
|
||||
PDFTOHTML = 'C:\\cygwin\\home\\kovid\\poppler-0.10.6\\rel\\pdftohtml.exe'
|
||||
|
|
|
|||
|
|
@ -475,7 +475,7 @@ def _build_data(self):
|
|||
elif isinstance(data, unicode):
|
||||
data = data.encode('utf-8')
|
||||
elif hasattr(data, 'cssText'):
|
||||
data = str(data)
|
||||
data = str(item)
|
||||
self._add_file(name, data, secnum)
|
||||
item.size = len(data)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue