def __init__(self, handle): activity.Activity.__init__(self,handle) self.logger = logging.getLogger("GvRngActivity") self.logger.debug("Start gvrng") # Start SP gvrng.main(handle=handle, parent=self)
def __init__(self, handle): activity.Activity.__init__(self,handle) self.logger = logging.getLogger("GvRngActivity") self.logger.debug("Start gvrng") # Start SP try: gvrng.main(handle=handle,parent=self) except: self.logger.exception("Error starting gvrng") self.close()