Merge pull request #222 from ScottIsAFool/ArgumentNullException

Issue #221 - Make sure a null list isn't used.
This commit is contained in:
Will Duff 2015-12-22 13:26:09 -08:00
commit 747e0881cc
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ namespace OpenLiveWriter.BlogClient.Clients
Permalink = post.Url,
Contents = post.Content,
DatePublished = post.Published.Value,
Keywords = string.Join(new string(LabelDelimiter,1), post.Labels)
Keywords = string.Join(new string(LabelDelimiter,1), post.Labels ?? new List<string>())
};
}