diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2007-10-15 02:40:08 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2007-10-15 02:40:08 (GMT) |
commit | cdadf242ba32f1b3ef55e74d2eeb021e62da8041 (patch) | |
tree | 6149ddeff758d53e09fe6def12b5ada18775d915 /Lib/idlelib | |
parent | d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87 (diff) | |
download | cpython-cdadf242ba32f1b3ef55e74d2eeb021e62da8041.zip cpython-cdadf242ba32f1b3ef55e74d2eeb021e62da8041.tar.gz cpython-cdadf242ba32f1b3ef55e74d2eeb021e62da8041.tar.bz2 |
Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/IOBinding.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |