def _check_rate(self, rate):
        value = int(rate)
        if value < 1:
            raise argparse.ArgumentTypeError("DETECTION_RATE must be a number " +
                "greater than 0")
        return value
dataset/ETHPy150Open phrack/ShootOFF-legacy/configurator.py/Configurator._check_rate/original