mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 19:08:40 +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
|
# Check all the torrent's tracker_status for 'Error:' and only return torrent_ids
|
||||||
# that have this substring in their tracker_status
|
# that have this substring in their tracker_status
|
||||||
for torrent_id in torrent_ids:
|
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)
|
filtered_torrent_ids.append(torrent_id)
|
||||||
|
|
||||||
return filtered_torrent_ids
|
return filtered_torrent_ids
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue