summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-03-08 20:19:19 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-03-08 20:19:19 +0000
commitfdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3 (patch)
tree405a04df77c9d1fcbad10b462a8dfbe8b6e4e581
parent5ce82498ac4ed6050a5816986ed2bd238d3886cd (diff)
downloaddeluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.tar.gz
deluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.tar.bz2
deluge-fdf78bc7fd8b533ff9d7938a4cd2b18f6481c8b3.zip
Fix #790 tracker hosts not correct for some .uk trackers
-rw-r--r--ChangeLog2
-rw-r--r--deluge/core/torrent.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b71ef673..390b3fe36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:])