def preprocess_keywords(keywords, **options):
    """Convert a list of keywords to a delimited string."""
    if type(keywords) is not list:
        return keywords

    return options.get('keyword_delimiter', ';').join(keywords)