Fixed: Error when attempting to retry a release with nzbget

This commit is contained in:
Mark McDowall 2014-10-06 08:52:36 -07:00
parent 4e98a447cb
commit 89d0293f6e
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
public void RetryDownload(string id, NzbgetSettings settings)
{
var history = GetHistory(settings);
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone") != null);
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone" && id == (p.Value as string)) != null);
if (item == null)
{