Skip to content

Commit bdb164f

Browse files
committed
Do a better job of excluding non-ascii chars
1 parent 4f01b4f commit bdb164f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows-release/merge-and-upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _run(*args):
7070
) as p:
7171
out, _ = p.communicate(None)
7272
if out:
73-
print(out)
73+
print(out.encode("ascii", "replace").decode("ascii"))
7474
if p.returncode:
7575
raise RunError(p.returncode, out)
7676

0 commit comments

Comments
 (0)