tracking python idle changes:
Provisional fix for writefile() [SF bug # 541730]
This commit is contained in:
parent
1c6192662d
commit
a2bc259dd7
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue