Changeset b2990e


Ignore:
Timestamp:
12/21/2009 10:26:50 AM (15 years ago)
Author:
Damien Churchill <damoc@gmail.com>
Children:
6b396f
Parents:
7ebe07
Message:

fix filtering on the tracker host, use == rather than in so tracker urls that contain another trackers url within them aren't picked up as well

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r7ebe07 rb2990e  
    22==== Core ====
    33        * Fix file renaming
     4        * Fix tracker host filtering (Closes #1106)
    45
    56==== GtkUI ====
  • deluge/core/filtermanager.py

    r7ebe07 rb2990e  
    8585    if values[0] != "Error":
    8686        for torrent_id in torrent_ids:
    87             if values[0] in tm[torrent_id].get_status(["tracker_host"])["tracker_host"]:
     87            if values[0] == tm[torrent_id].get_status(["tracker_host"])["tracker_host"]:
    8888                filtered_torrent_ids.append(torrent_id)
    8989        return filtered_torrent_ids
Note: See TracChangeset for help on using the changeset viewer.