def listify(string_or_list):
    """Takes a string or a list and converts strings to one item lists"""

    if hasattr(string_or_list, 'startswith'):
        return [string_or_list]
    else:
        return string_or_list