master
Guillaume Seguin 2012-08-06 19:19:07 +02:00
parent c8b4626d33
commit 0816e6cafe
1 changed files with 1 additions and 1 deletions

View File

@ -1566,7 +1566,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.filename=name
of=open(self.filename)
self.f=[i.replace("\n","").replace("\r","") for i in of]
of.close
of.close()
self.status.SetStatusText(_("Loaded %s, %d lines") % (name, len(self.f)))
wx.CallAfter(self.printbtn.SetLabel, _("Print"))
wx.CallAfter(self.pausebtn.SetLabel, _("Pause"))