Bump framework version and small cleanup

This commit is contained in:
Alexey Golub
2018-01-26 18:13:25 +02:00
parent bb2b04d2e5
commit f7ef3bbb44
5 changed files with 9 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ namespace DiscordChatExporter.Cli.ViewModels
// Generate file path if not set
if (filePath.IsBlank())
{
filePath = $"{guild} - {channel}.{format.GetFileExtension()}"
filePath = $"{guild.Name} - {channel.Name}.{format.GetFileExtension()}"
.Replace(Path.GetInvalidFileNameChars(), '_');
}