Revert: Prevent an edge case where a download is not marked as complete

This commit is contained in:
Mark McDowall 2020-04-21 09:03:01 -07:00
parent 05dd17aacb
commit 1498f4e361
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace NzbDrone.Core.Download.TrackedDownloads
var allEpisodesImportedInHistory = trackedDownload.RemoteEpisode.Episodes.All(e =>
{
var lastHistoryItem = historyItems.FirstOrDefault(h => h.DownloadId == trackedDownload.DownloadItem.DownloadId && h.EpisodeId == e.Id);
var lastHistoryItem = historyItems.FirstOrDefault(h => h.EpisodeId == e.Id);
if (lastHistoryItem == null)
{