mirror of https://github.com/Radarr/Radarr
Fixed: Error when attempting to retry a release with nzbget
This commit is contained in:
parent
4e98a447cb
commit
89d0293f6e
|
@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
|
||||||
public void RetryDownload(string id, NzbgetSettings settings)
|
public void RetryDownload(string id, NzbgetSettings settings)
|
||||||
{
|
{
|
||||||
var history = GetHistory(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)
|
if (item == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue