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

(cherry picked from commit 079a0b56c3e124616fef6e2f81c19f67c13acb96)

Closes #67
pull/1109/head
Mark McDowall 5 years ago committed by Qstick
parent b23e225271
commit db885a5111

@ -138,11 +138,11 @@ namespace NzbDrone.Core.MediaFiles.BookImport.Manual
if (downloadId.IsNotNullOrWhiteSpace())
{
var trackedDownload = _trackedDownloadService.Find(downloadId);
downloadClientItem = trackedDownload.DownloadItem;
downloadClientItem = trackedDownload?.DownloadItem;
if (author == null)
{
author = trackedDownload.RemoteBook?.Author;
author = trackedDownload?.RemoteBook?.Author;
}
}

Loading…
Cancel
Save