Fixed unit tests

pull/3999/head
Mark McDowall 4 years ago
parent 487c664e43
commit bd0e5e16b8

@ -218,9 +218,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
return fileName; 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; return null;

Loading…
Cancel
Save