Commit 7edb74b1 authored by Guillaume Seguin's avatar Guillaume Seguin

Remove try: except: pass around status check

parent f68636bb
......@@ -1333,7 +1333,6 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.logbox.Clear()
def statuschecker(self):
try:
while self.statuscheck:
string = ""
wx.CallAfter(self.tempdisp.SetLabel,self.tempreport.strip().replace("ok ",""))
......@@ -1376,8 +1375,6 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except:
break
wx.CallAfter(self.status.SetStatusText,_("Not connected to printer."))
except:
pass #if window has been closed
def capture(self, func, *args, **kwargs):
stdout=sys.stdout
......
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