From 89b5ca1cfe7b1db1751bad89517e54e3a24ede2c Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 6 Feb 2009 09:01:11 +0000 Subject: [PATCH] Fix #790 tracker hosts not correct for some 3rd-level domain names --- deluge/core/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 9640e31bd..4522580d6 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -532,7 +532,7 @@ class Torrent: parts = host.split(".") if len(parts) > 2: - if parts[-2] in ("co", "com"): + if parts[-2] in ("co", "com", "net", "org"): host = ".".join(parts[-3:]) else: host = ".".join(parts[-2:])