Commit 8237b634 authored by Kliment Yanev's avatar Kliment Yanev

Remove redundant data from status bar.

parent 556ba0fb
...@@ -1218,13 +1218,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -1218,13 +1218,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
try: try:
while(self.statuscheck): while(self.statuscheck):
string="" string=""
if(self.p.online): #if(self.p.online):
string+=_("Printer is online. ") # string+=_("Printer is online. ")
try: #try:
string+=_("Loaded ")+os.path.split(self.filename)[1]+" " # string+=_("Loaded ")+os.path.split(self.filename)[1]+" "
except: #except:
pass # pass
string+=(self.tempreport.replace("\r","").replace("T:",_("Hotend") + ":").replace("B:",_("Bed") + ":").replace("\n","").replace("ok ",""))+" " #string+=(self.tempreport.replace("\r","").replace("T:",_("Hotend") + ":").replace("B:",_("Bed") + ":").replace("\n","").replace("ok ",""))+" "
wx.CallAfter(self.tempdisp.SetLabel,self.tempreport.strip().replace("ok ","")) wx.CallAfter(self.tempdisp.SetLabel,self.tempreport.strip().replace("ok ",""))
try: try:
#self.hottgauge.SetValue(float(filter(lambda x:x.startswith("T:"),self.tempreport.split())[0].split(":")[1])) #self.hottgauge.SetValue(float(filter(lambda x:x.startswith("T:"),self.tempreport.split())[0].split(":")[1]))
......
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