summaryrefslogtreecommitdiffstats
path: root/deluge/core/filtermanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/core/filtermanager.py')
-rw-r--r--deluge/core/filtermanager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py
index 1538dfd..d3ad27c 100644
--- a/deluge/core/filtermanager.py
+++ b/deluge/core/filtermanager.py
@@ -196,9 +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"]["All"] = len(torrent_ids)
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
if "state" in tree_keys and not show_zero_hits: