Fix issues with script to create windows installer

This commit is contained in:
Kovid Goyal 2007-05-01 20:00:33 +00:00
parent 0cf1163000
commit c44bd5ab55
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ if sys.argv[1] == 'py2exe':
print >>sys.stderr, 'Must be in Windows to run py2exe'
sys.exit(1)
installer = \
'''
r'''
SetCompressor lzma
ShowInstDetails show
ShowUnInstDetails show
@ -67,7 +67,7 @@ Var MUI_TEMP
!define PRODUCT_NAME "libprs500"
!define XPUI_BRANDINGTEXT "${PRODUCT_NAME} created by Kovid Goyal"
!define PRODUCT_VERSION "'''+VERSION+'''"
!define PRODUCT_VERSION "'''+VERSION+r'''"
!define WEBSITE "https://libprs500.kovidgoyal.net"
!define PY2EXE_DIR "C:\libprs500"
!define LIBUSB_DIR "C:\libusb-prs500"

View File

@ -601,7 +601,7 @@ class HTMLConverter(object):
self.current_para.append_to(self.current_block)
self.current_para = Paragraph()
if not self.current_block.get_text().strip():
# THis is neccessary as apparently the reader
# This is neccessary as apparently the reader
# cannot handle empty TextBlocks, although
# the Connect software displays them correctly
mkr = TextBlock()