Update src/NzbDrone.Core/Organizer/FileNameBuilder.cs
This commit is contained in:
parent
e7ef30ee6f
commit
d9bd9e11a7
|
@ -384,7 +384,7 @@ namespace NzbDrone.Core.Organizer
|
||||||
return title.Substring(0, 1).ToUpper().RemoveAccent();
|
return title.Substring(0, 1).ToUpper().RemoveAccent();
|
||||||
}
|
}
|
||||||
|
|
||||||
// try the second character if the first was non alphanumeric
|
// Try the second character if the first was non alphanumeric
|
||||||
if (char.IsLetterOrDigit(title[1]))
|
if (char.IsLetterOrDigit(title[1]))
|
||||||
{
|
{
|
||||||
return title.Substring(1, 1).ToUpper().RemoveAccent();
|
return title.Substring(1, 1).ToUpper().RemoveAccent();
|
||||||
|
|
Loading…
Reference in New Issue