From 8cd1d35958a002aa4e78387e2de272a7b3603526 Mon Sep 17 00:00:00 2001 From: albertosottile Date: Fri, 27 Apr 2018 21:32:21 +0200 Subject: [PATCH] Removed decode from NSIS script --- buildInstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildInstaller.py b/buildInstaller.py index 0f43d04..0b91b9c 100644 --- a/buildInstaller.py +++ b/buildInstaller.py @@ -624,7 +624,7 @@ class NSISScript(object): totalSize = totalSize, ) with codecs.open(SETUP_SCRIPT_PATH, "w", "utf-8-sig") as outfile: - outfile.write(contents.decode('utf-8')) + outfile.write(contents) def compile(self): if not os.path.isfile(NSIS_COMPILE):