Disable constant Temperature display in console
parent
fdfd7738a2
commit
dbbb51a4e0
|
@ -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), "%"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue