def onStop(self, evt): """Cancel current processing.""" if self.processing and self.processing.is_alive(): mspy.stop() else: wx.Bell()
def onStop(self, evt): """Cancel current processing.""" if self.processing and self.processing.isAlive(): mspy.stop() else: wx.Bell()