Make sure the tracker url is of type string and not unicode. Never had this issue previously though.
This commit is contained in:
parent
13528fe7f8
commit
a47da57c0d
|
@ -372,7 +372,7 @@ class Torrent(object):
|
||||||
tracker_list = []
|
tracker_list = []
|
||||||
|
|
||||||
for tracker in trackers:
|
for tracker in trackers:
|
||||||
new_entry = lt.announce_entry(tracker["url"])
|
new_entry = lt.announce_entry(str(tracker["url"]))
|
||||||
new_entry.tier = tracker["tier"]
|
new_entry.tier = tracker["tier"]
|
||||||
tracker_list.append(new_entry)
|
tracker_list.append(new_entry)
|
||||||
self.handle.replace_trackers(tracker_list)
|
self.handle.replace_trackers(tracker_list)
|
||||||
|
|
Loading…
Reference in New Issue