From dbbb51a4e0edbe62f67fd873af152589e78be931 Mon Sep 17 00:00:00 2001 From: Jeremy Hammett Date: Sat, 5 May 2012 20:10:30 +0100 Subject: [PATCH] Disable constant Temperature display in console --- pronsole.py | 2 +- pronterface.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pronsole.py b/pronsole.py index 2e47cef..0ff1d13 100755 --- a/pronsole.py +++ b/pronsole.py @@ -1116,7 +1116,7 @@ class pronsole(cmd.Cmd): if(self.sdprinting): self.p.send_now("M27") time.sleep(interval) - print (self.tempreadings.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ","")) + #print (self.tempreadings.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ","")) if(self.p.printing): print "Print progress: ", 100*float(self.p.queueindex)/len(self.p.mainqueue), "%" diff --git a/pronterface.py b/pronterface.py index 47caf75..4533880 100755 --- a/pronterface.py +++ b/pronterface.py @@ -1298,8 +1298,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole): pass tstring=l.rstrip() #print tstring - if (tstring!="ok" and tstring!="wait"): - print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring + #if (tstring!="ok") and (tstring!="wait"): + #print "*"+tstring+"*" + #print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring #wx.CallAfter(self.logbox.AppendText,tstring+"\n") for i in self.recvlisteners: i(l)