def str2list(_str):
    """Convert string type to list of one string

    :arg str _str: a string
    """
    if isinstance(_str, str):
        return [_str]
    elif isinstance(_str, list):
        return _str
    else:
        raise ValueError('"_str" input is not a str or list')