Remove try: except: pass around status check
parent
f68636bb3b
commit
7edb74b18d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue