fix code styling (GH-12737)

This commit is contained in:
Inada Naoki 2019-04-09 14:54:30 +09:00 committed by GitHub
parent 7b97ab35b2
commit 5909ad1217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class bdist_wininst(Command):
# convert back to bytes. "latin-1" simply avoids any possible
# failures.
with open(self.pre_install_script, "r",
encoding="latin-1") as script:
encoding="latin-1") as script:
script_data = script.read().encode("latin-1")
cfgdata = cfgdata + script_data + b"\n\0"
else: