From a47da57c0d5df6209efe7c3f64fcdd9982cbaa38 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 7 Jul 2011 17:16:24 +0100 Subject: [PATCH] Make sure the tracker url is of type string and not unicode. Never had this issue previously though. --- 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 f1fc6a9de..22149dfe7 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -372,7 +372,7 @@ class Torrent(object): tracker_list = [] for tracker in trackers: - new_entry = lt.announce_entry(tracker["url"]) + new_entry = lt.announce_entry(str(tracker["url"])) new_entry.tier = tracker["tier"] tracker_list.append(new_entry) self.handle.replace_trackers(tracker_list)