(self)
Open the underlying port if necessary.
Open the underlying port if necessary.
Open the underlying port if necessary .
def _check_open(self):
        """Open the underlying port if necessary."""
        if not self._serial.is_open:
            logging.debug('Opening serial port %s.', self._serial.port)
            self._serial.open()
def _check_open ( self ) : if not self . _serial . is_open : logging . debug ( 'Opening serial port %s.' , self . _serial . port ) self . _serial . open ( )