def run(self): ''' Detect the resume dialog for widgets. Detect external players. ''' LOG.warn("--->[ listener ]") while not self.stop_thread: special_listener() if self.monitor.waitForAbort(0.5): break LOG.warn("---<[ listener ]")
def run(self): ''' Detect the resume dialog for widgets. Detect external players. ''' LOG.info("--->[ listener ]") while not self.stop_thread: special_listener() if self.monitor.waitForAbort(0.5): # Abort was requested while waiting. We should exit break LOG.info("---<[ listener ]")