Make sure the tracker url is of type string and not unicode. Never had this issue previously though.

This commit is contained in:
Pedro Algarvio 2011-07-07 17:16:24 +01:00
parent 13528fe7f8
commit a47da57c0d
1 changed files with 1 additions and 1 deletions

View File

@ -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)