def sanitize(run_time):
    """Sanitizes the 'run_time' parameter by replacing ':' and '-' with '.'
       to make sure input data is consistent"""
    if '-' in run_time:
        token = '-'
    elif ':' in run_time:
        token = ':'
    else:
        return run_time
    mins, secs = run_time.split(token)
    return mins + '.' + secs
