Commit 351df958 authored by Markus Hitter's avatar Markus Hitter

pronterface.py: repeat messages from printer only in non-verbose mode.

parent 70b68879
...@@ -1425,7 +1425,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -1425,7 +1425,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
pass pass
tstring=l.rstrip() tstring=l.rstrip()
#print tstring #print tstring
if (tstring!="ok") and (tstring!="wait") and ("ok T:" not in tstring): if (tstring!="ok") and (tstring!="wait") and ("ok T:" not in tstring) and (not self.p.loud):
# print "*"+tstring+"*" # print "*"+tstring+"*"
# print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring # print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
wx.CallAfter(self.logbox.AppendText,tstring+"\n") wx.CallAfter(self.logbox.AppendText,tstring+"\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment