From e1a5a224763b1374c8dff6dcc2f5d85c15335eae Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Tue, 13 Dec 2011 00:19:13 +0800 Subject: [PATCH] Stopped "newline creep" in .html files --- progcomp/judge/simulator/simulate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progcomp/judge/simulator/simulate.py b/progcomp/judge/simulator/simulate.py index 76ca0a5..5ad6448 100755 --- a/progcomp/judge/simulator/simulate.py +++ b/progcomp/judge/simulator/simulate.py @@ -144,7 +144,7 @@ for agent in agents: for line in oldFile: if line.strip() == "": break - agentFile.write(line + "\n") + agentFile.write(line.strip() + "\n") oldFile.close() agentFile.close() os.remove("tmpfile") -- 2.20.1