1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Manual import from queue showing error when download name failed to parse

This commit is contained in:
Mark McDowall 2019-07-30 08:44:55 -07:00
parent 66721affe7
commit 079a0b56c3

View File

@ -162,11 +162,11 @@ private ManualImportItem ProcessFile(string rootFolder, string baseFolder, strin
if (downloadId.IsNotNullOrWhiteSpace())
{
var trackedDownload = _trackedDownloadService.Find(downloadId);
downloadClientItem = trackedDownload.DownloadItem;
downloadClientItem = trackedDownload?.DownloadItem;
if (series == null)
{
series = trackedDownload.RemoteEpisode.Series;
series = trackedDownload?.RemoteEpisode?.Series;
}
}