10000 Another Python3 bytes/unicode fix · munslowa/matplotlib@87cf619 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87cf619

Browse files
committed
Another Python3 bytes/unicode fix
1 parent 1c17bb4 commit 87cf619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ def write(self, *kl, **kwargs):
11871187

11881188
if passed_in_file_object:
11891189
with open(tmpfile, 'rb') as fh:
1190-
print(fh.read(), file=outfile)
1190+
outfile.write(fh.read())
11911191
else:
11921192
with open(outfile, 'w') as fh:
11931193
pass

0 commit comments

Comments
 (0)
0