We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac0816 commit d667a33Copy full SHA for d667a33
pdfkit/pdfkit.py
@@ -163,7 +163,7 @@ def to_pdf(self, path=None):
163
# Since wkhtmltopdf sends its output to stderr we will capture it
164
# and properly send to stdout
165
if '--quiet' not in args:
166
- sys.stdout.write(stderr)
+ sys.stdout.write(stderr.decode('utf-8'))
167
168
if not path:
169
return stdout
0 commit comments