mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 05:35:29 +00:00
Fixed unit tests
This commit is contained in:
parent
487c664e43
commit
bd0e5e16b8
1 changed files with 4 additions and 2 deletions
|
@ -218,9 +218,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
|||
return fileName;
|
||||
}
|
||||
|
||||
if (SceneChecker.IsSceneTitle(localEpisode.FolderEpisodeInfo.ReleaseTitle))
|
||||
var folderTitle = localEpisode.FolderEpisodeInfo?.ReleaseTitle;
|
||||
|
||||
if (folderTitle.IsNotNullOrWhiteSpace() && SceneChecker.IsSceneTitle(folderTitle))
|
||||
{
|
||||
return localEpisode.FolderEpisodeInfo.ReleaseTitle;
|
||||
return folderTitle;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue