Example #1
0
 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
Example #2
0
 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