mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue