rco.write(_("# I moved all your custom buttons into .pronsolerc.\n# Please don't add them here any more.\n# Backup of your old buttons is in custombtn.old\n"))
rco.close()
exceptIOError,x:
printstr(x)
exceptIOErrorasx:
print(str(x))
else:
print_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc")
print_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt")
print(_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc"))
print(_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt"))
except:
pass
...
...
@@ -200,13 +200,13 @@ class PronterWindow(MainWindow, pronsole.pronsole):
defstartcb(self):
self.starttime=time.time()
print"Print Started at: "+format_time(self.starttime)
print("Print Started at: "+format_time(self.starttime))