def humanCommand(self): result = self._decoded.split(':')[0] if result: if result not in self.commands: LOGGER.critical('LGTV: unknown argument {}'.format(self._decoded)) sys.exit(2) return result
def humanCommand(self): result = self._decoded.split(':')[0] if result: if result not in self.commands: LOGGER.critical('LGTV: unknown argument {}'.format( self._decoded)) sys.exit(2) return result