diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-03-08 20:19:19 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-03-08 20:19:19 +0000 |
commit | fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3 (patch) | |
tree | 405a04df77c9d1fcbad10b462a8dfbe8b6e4e581 | |
parent | 5ce82498ac4ed6050a5816986ed2bd238d3886cd (diff) | |
download | deluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.tar.gz deluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.tar.bz2 deluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.zip |
Fix #790 tracker hosts not correct for some .uk trackers
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | deluge/core/torrent.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ ==== Core ==== * Fix displaying file errors when the torrent isn't paused * Fix issue where torrents being check would get removed due to "stop at ratio" rules + * Fix #790 tracker hosts not correct for some .uk trackers ==== GtkUI ==== * Fix hiding bottom pane when no tabs are enabled upon restart @@ -9,7 +10,6 @@ * Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog * Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog * Fix #817 email notifications fail to substitute format strings - * Change SignalReceiver to use non-blocking socket ==== Plugins ==== * Label: Fix setting 'Move on completed' folder when connected to a remote daemon diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 4e3d3f88b..cf088b5f8 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -537,7 +537,7 @@ class Torrent: parts = host.split(".") if len(parts) > 2: - if parts[-2] in ("co", "com", "net", "org"): + if parts[-2] in ("co", "com", "net", "org") or parts[-1] in ("uk"): host = ".".join(parts[-3:]) else: host = ".".join(parts[-2:]) |