We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a00430d + e6cdf39 commit dd4822dCopy full SHA for dd4822d
defaulttrackers/core.py
@@ -43,7 +43,6 @@
43
import deluge.component as component
44
import deluge.configmanager
45
from deluge.core.rpcserver import export
46
-from pprint import pprint
47
48
DEFAULT_PREFS = {
49
"trackers": [
@@ -70,6 +69,8 @@ def update(self):
70
69
71
def on_torrent_added(self, torrent_id):
72
torrent = component.get("TorrentManager")[torrent_id]
+ if (torrent.torrent_info and torrent.torrent_info.priv()) or torrent.get_status(["private"])["private"]:
73
+ return
74
trackers = torrent.get_status(["trackers"])["trackers"]
75
existing_urls = [tracker["url"] for tracker in trackers]
76
got_new_trackers = False
0 commit comments