Skip to content

Commit

Permalink
Merge branch 'pr/56' into next
Browse files Browse the repository at this point in the history
fixed #55 printing to stdout with encoded output
  • Loading branch information
phdru committed Jul 19, 2023
2 parents 6a511e7 + e120300 commit a0792ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cheetah/CheetahWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def _compileOrFillStdin(self):
pysrc = TemplateClass.compile(file=sys.stdin,
compilerSettings=compilerSettings,
returnAClass=False)
output = pysrc
output = pysrc if PY2 else pysrc.decode()
else:
output = str(TemplateClass(file=sys.stdin,
compilerSettings=compilerSettings))
Expand Down
1 change: 1 addition & 0 deletions docs/authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Contributions have been made by:
* odidev <odidev at puresoftware.com>
* Pierre Ossman <ossman at cendio.se>
* Michael Gorny <mgorny at gentoo.org>
* nate.k <nate.k at onetrueloan.com>
* Oleg Broytman <phd@phdru.name>

0 comments on commit a0792ee

Please sign in to comment.