def checksum_tle_line(_line):
    """ Performs TLE-defined checksum on TLE line"""
    check = 0
    for char in _line[:-1]:
        if char.isdigit():
            check += int(char)
        if char == '-':
            check += 1
    _check_val = check % 10
    return _check_val
