Remove try: except: pass around status check

master
Guillaume Seguin 2012-08-06 19:38:01 +02:00
parent f68636bb3b
commit 7edb74b18d
1 changed files with 41 additions and 44 deletions

View File

@ -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