mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-19 04:31:05 +00:00
Fixed: Error when attempting to retry a release with nzbget
This commit is contained in:
parent
4e98a447cb
commit
89d0293f6e
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public void RemoveFromHistory(string id, NzbgetSettings settings)
|
||||||
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 a new issue