def convert_int(value):
    """
    Try to convert value to integer and do nothing on error

    :param value: value to try to convert

    :return: value, possibly converted to int
    """
    try:
        return int(value)
    except ValueError:
        return value