def _check_virtual_magazine(self, virtual_magazine):
        value = int(virtual_magazine)
        if value < 1 or value > 45:
            raise argparse.ArgumentTypeError("VIRTUAL_MAGAZINE must be a number " +
                "between 1 and 45")
        return value
dataset/ETHPy150Open phrack/ShootOFF-legacy/configurator.py/Configurator._check_virtual_magazine/original