From f87dba7d7eae8ff63c495a52a43ba8a15070f994 Mon Sep 17 00:00:00 2001
From: SerialShadow <SerialShadow@users.noreply.github.com>
Date: Fri, 10 Jul 2015 17:22:55 +0200
Subject: [PATCH] All items in the list referred to the same object, so when
 this object was mutated all the items in the list got mutated. This resulted
 in exactly the same search url multiple times when we had a list of scene
 exceptions. Appended a copy of the original params dictionary object to the
 list, instead os the original object.

---
 sickbeard/providers/newznab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sickbeard/providers/newznab.py b/sickbeard/providers/newznab.py
index 85db5e81..4d5d6085 100644
--- a/sickbeard/providers/newznab.py
+++ b/sickbeard/providers/newznab.py
@@ -198,7 +198,7 @@ class NewznabProvider(generic.NZBProvider):
             if add_string:
                 params['q'] += ' ' + add_string
 
-            to_return.append(params)
+            to_return.append(dict(params))
 
             if ep_obj.show.anime:
                 paramsNoEp = params.copy()
-- 
GitLab