mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix #1239: Translated Tracker Error text not counted in sidebar Error status
This commit is contained in:
parent
55f456d851
commit
9a1ae06033
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue