Fix tests

This commit is contained in:
crobibero 2020-11-22 14:39:34 -07:00
parent 2aefe9ed5a
commit 20251e670f

View file

@ -226,7 +226,8 @@ namespace Emby.Naming.Video
{
testFilename = cleanName.ToString();
}
else if (folderName.Length <= testFilename.Length)
if (folderName.Length <= testFilename.Length)
{
testFilename = testFilename.Substring(folderName.Length).Trim();
}