From 1361091a1a78da5f5aa2348135ecaf9fb989625f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Mon, 15 Jul 2013 10:39:39 +0000 Subject: [PATCH] cleanup in atexit was dead git-svn-id: http://svn.code.sf.net/p/pyx/code/branches/py3k/pyx@3416 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- pyx/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyx/text.py b/pyx/text.py index 0fd95eb5..73a31173 100644 --- a/pyx/text.py +++ b/pyx/text.py @@ -743,9 +743,9 @@ def _cleantmp(texrunner): if texrunner.texruns: # cleanup while TeX is still running? texrunner.expectqueue.put_nowait(None) # do not expect any output anymore if texrunner.mode == "latex": # try to immediately quit from TeX or LaTeX - texrunner.texinput.write("\n\\catcode`\\@11\\relax\\@@end\n") + texrunner.texinput.write(b"\n\\catcode`\\@11\\relax\\@@end\n") else: - texrunner.texinput.write("\n\\end\n") + texrunner.texinput.write(b"\n\\end\n") texrunner.texinput.close() # close the input queue and if not texrunner.waitforevent(texrunner.quitevent): # wait for finish of the output return # didn't got a quit from TeX -> we can't do much more -- 2.11.4.GIT