From cdadf242ba32f1b3ef55e74d2eeb021e62da8041 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Mon, 15 Oct 2007 02:40:08 +0000 Subject: Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error. --- Lib/idlelib/IOBinding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 6ab4db0..b970dba 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -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) -- cgit v0.12