From 7e9caa6f4417a5311866648d14f2aafa0d024330 Mon Sep 17 00:00:00 2001 From: "nate.k" Date: Tue, 13 Jun 2023 10:33:34 -0700 Subject: [PATCH 1/2] fixed printing to stdout with encoded output for issue #55 --- Cheetah/CheetahWrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cheetah/CheetahWrapper.py b/Cheetah/CheetahWrapper.py index e86c7285..11da748e 100755 --- a/Cheetah/CheetahWrapper.py +++ b/Cheetah/CheetahWrapper.py @@ -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)) From e120300b51fd6b5f6cf5a15da8aed42e44510f2b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 19 Jul 2023 18:57:53 +0300 Subject: [PATCH 2/2] Docs(authors): Add nate.k --- docs/authors.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/authors.rst b/docs/authors.rst index d7eb986b..1aba3376 100644 --- a/docs/authors.rst +++ b/docs/authors.rst @@ -41,4 +41,5 @@ Contributions have been made by: * odidev * Pierre Ossman * Michael Gorny +* nate.k * Oleg Broytman