Don't clean slashes from folder names

This commit is contained in:
Mark McDowall 2023-04-24 13:12:35 -07:00
parent b3260ba866
commit 0bc16efe26
1 changed files with 1 additions and 2 deletions

View File

@ -385,9 +385,8 @@ namespace NzbDrone.Core.Organizer
public static string CleanFolderName(string name)
{
name = FileNameCleanupRegex.Replace(name, match => match.Captures[0].Value[0].ToString());
name = name.Trim(' ', '.');
return CleanFileName(name);
return name.Trim(' ', '.');
}
public bool RequiresEpisodeTitle(Series series, List<Episode> episodes)