def textarea_to_list(textarea):
    """
    Takes a string and returns list of lines, skipping blank lines
    """
    list_ = textarea.splitlines()
    return [x.strip() for x in list_ if x.strip() != '']