Commit d367c410 authored by Steven M. Gava's avatar Steven M. Gava

tracking python idle changes:

Provisional fix for writefile() [SF bug # 541730]
parent 423a8838
......@@ -178,7 +178,7 @@ class IOBinding:
self.fixlastline()
try:
f = open(filename, "w")
chars = self.text.get("1.0", "end-1c")
chars = str(self.text.get("1.0", "end-1c"))
f.write(chars)
f.close()
## print "saved to", `filename`
......
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