コード例 #1
0
    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)
コード例 #2
0
 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()