Removed decode from NSIS script

This commit is contained in:
albertosottile 2018-04-27 21:32:21 +02:00
parent c4e912a2d5
commit 8cd1d35958

View File

@ -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):