mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
fix filtering on the tracker host, use ==
rather than in
so tracker urls that contain another trackers url within them aren't picked up as well
This commit is contained in:
parent
fad6ba2193
commit
c7d52f3ce5
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ def tracker_error_filter(torrent_ids, values):
|
|||
# If this is a tracker_host, then we need to filter on it
|
||||
if values[0] != "Error":
|
||||
for torrent_id in torrent_ids:
|
||||
if values[0] in tm[torrent_id].get_status(["tracker_host"])["tracker_host"]:
|
||||
if values[0] == tm[torrent_id].get_status(["tracker_host"])["tracker_host"]:
|
||||
filtered_torrent_ids.append(torrent_id)
|
||||
return filtered_torrent_ids
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue