def handle_msg(self, *args): if self.client: msg = self.client.read_queue() if msg: Logger.info('App: msg={}'.format(msg))