Commit be10cff3 authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup and fix recvcb

parent 8013ac86
...@@ -1145,13 +1145,10 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -1145,13 +1145,10 @@ class PronterWindow(MainWindow, pronsole.pronsole):
wx.CallAfter(self.tempdisp.SetLabel, self.tempreport.strip().replace("ok ", "")) wx.CallAfter(self.tempdisp.SetLabel, self.tempreport.strip().replace("ok ", ""))
self.update_tempdisplay() self.update_tempdisplay()
tstring = l.rstrip() tstring = l.rstrip()
#print tstring if self.p.loud or (tstring not in ["ok", "wait"] and "ok T:" not in tstring and "ok C:" not in tstring):
if (tstring!="ok") and (tstring!="wait") and ("ok T:" not in tstring) and (not self.p.loud):
# print "*"+tstring+"*"
# print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
wx.CallAfter(self.addtexttolog, tstring + "\n"); wx.CallAfter(self.addtexttolog, tstring + "\n");
for i in self.recvlisteners: for listener in self.recvlisteners:
i(l) listener(l)
def listfiles(self, line): def listfiles(self, line):
if "Begin file list" in line: if "Begin file list" in line:
......
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