Commit e1a5a224 authored by Sam Moore's avatar Sam Moore
Browse files

Stopped "newline creep" in .html files

parent 0c7750e6
...@@ -144,7 +144,7 @@ for agent in agents: ...@@ -144,7 +144,7 @@ for agent in agents:
for line in oldFile: for line in oldFile:
if line.strip() == "</body>": if line.strip() == "</body>":
break break
agentFile.write(line + "\n") agentFile.write(line.strip() + "\n")
oldFile.close() oldFile.close()
agentFile.close() agentFile.close()
os.remove("tmpfile") os.remove("tmpfile")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment