Commit 3c243b22 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2710] Terminate the last line of text

parent 3c1fc036
......@@ -99,7 +99,7 @@ class TmpTextFile:
def __enter__(self):
with open(self.__path, 'w') as f:
f.write("\n".join(self.__contents) + "\n")
def __exit__(self, type, value, traceback):
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