From 7a115622df1cbd32369da89336df992e079914df Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 16 Mar 2010 23:44:38 +0000 Subject: [PATCH] add "All" to the list of filters for tracker hosts --- deluge/core/filtermanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index fcb5e96e3..1538dfdfa 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -196,6 +196,8 @@ class FilterManager(component.Component): value = status[field] items[field][value] = items[field].get(value, 0) + 1 + items["tracker_host"]["All"] = len(torrent_ids) + if "tracker_host" in items: items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))