Skip to content

Commit 76230f3

Browse files
1 parent dbdce11 commit 76230f3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

defaulttrackers/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def on_torrent_added(self, torrent_id):
7171
torrent = component.get("TorrentManager")[torrent_id]
7272
if (torrent.torrent_info and torrent.torrent_info.priv()) or torrent.get_status(["private"])["private"]:
7373
return
74-
trackers = torrent.get_status(["trackers"])["trackers"]
74+
trackers = list(torrent.get_status(["trackers"])["trackers"])
7575
existing_urls = [tracker["url"] for tracker in trackers]
7676
got_new_trackers = False
7777
for new_tracker in self.config["trackers"]:

egg/DefaultTrackers-0.1-py2.7.egg

14 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)