From c44bd5ab55da033993a67b5d696beb62e4bcb70a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 1 May 2007 20:00:33 +0000 Subject: [PATCH] Fix issues with script to create windows installer --- setup.py | 4 ++-- src/libprs500/lrf/html/convert_from.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 71ae98141f..438b267000 100644 --- a/setup.py +++ b/setup.py @@ -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" diff --git a/src/libprs500/lrf/html/convert_from.py b/src/libprs500/lrf/html/convert_from.py index 8a8e59a3c9..8da191326b 100644 --- a/src/libprs500/lrf/html/convert_from.py +++ b/src/libprs500/lrf/html/convert_from.py @@ -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()