Commit cdadf242 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error.

parent d4ee167b
......@@ -392,7 +392,7 @@ class IOBinding:
text = self.text.get("1.0", "end-1c")
if self.eol_convention != "\n":
text = text.replace("\n", self.eol_convention)
chars = self.encode(self.text.get("1.0", "end-1c"))
chars = self.encode(text)
try:
f = open(filename, "wb")
f.write(chars)
......
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