Module: deluge Branch: master Commit: a47da57c0d5df6209efe7c3f64fcdd9982cbaa38
Author: Pedro Algarvio <pe...@algarvio.me> Date: Thu Jul 7 17:16:24 2011 +0100 Make sure the tracker url is of type string and not unicode. Never had this issue previously though. --- deluge/core/torrent.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index f1fc6a9..22149df 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) -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to deluge-commit@googlegroups.com. To unsubscribe from this group, send email to deluge-commit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.