From 8a0e703331aa744216f7884d564c621f4770ef09 Mon Sep 17 00:00:00 2001 From: jezmy Date: Sun, 6 May 2012 00:17:21 +0100 Subject: [PATCH] Supress Temperature message in log, but allow other info through --- pronterface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pronterface.py b/pronterface.py index 4533880..3b4637d 100755 --- a/pronterface.py +++ b/pronterface.py @@ -1298,10 +1298,10 @@ class PronterWindow(wx.Frame,pronsole.pronsole): pass tstring=l.rstrip() #print 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") + if (tstring!="ok") and (tstring!="wait") and ("ok T:" not in tstring): + # 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)