Fixed: Possible issue with manual import of an unknown release

This commit is contained in:
Mark McDowall 2019-05-04 08:57:59 -07:00
parent 7321075631
commit 940cba5f90
1 changed files with 1 additions and 4 deletions

View File

@ -288,10 +288,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
if (file.DownloadId.IsNotNullOrWhiteSpace()) if (file.DownloadId.IsNotNullOrWhiteSpace())
{ {
trackedDownload = _trackedDownloadService.Find(file.DownloadId); trackedDownload = _trackedDownloadService.Find(file.DownloadId);
if (trackedDownload != null) localEpisode.DownloadClientEpisodeInfo = trackedDownload?.RemoteEpisode?.ParsedEpisodeInfo;
{
localEpisode.DownloadClientEpisodeInfo = trackedDownload.RemoteEpisode.ParsedEpisodeInfo;
}
} }
if (file.FolderName.IsNotNullOrWhiteSpace()) if (file.FolderName.IsNotNullOrWhiteSpace())