Module: deluge Branch: master Commit: 9a1ae06033b056c6edf6ce0eee078dde497315ca
Author: Calum Lind <[email protected]> Date: Mon Jul 4 14:30:55 2011 +0100 Fix #1239: Translated Tracker Error text not counted in sidebar Error status --- deluge/core/filtermanager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index a4fd54d..25ae4be 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -113,7 +113,7 @@ def tracker_error_filter(torrent_ids, values): # Check all the torrent's tracker_status for 'Error:' and only return torrent_ids # that have this substring in their tracker_status for torrent_id in torrent_ids: - if "Error:" in tm[torrent_id].get_status(["tracker_status"])["tracker_status"]: + if _("Error") + ":" in tm[torrent_id].get_status(["tracker_status"])["tracker_status"]: filtered_torrent_ids.append(torrent_id) return filtered_torrent_ids -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
