Skip to content

Commit ee7b4cf

Browse files
Merge branch 'wilreichert-param'
2 parents 7e7b0c7 + 3ab8cdb commit ee7b4cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

defaulttrackers/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def disable(self):
6767
def update(self):
6868
pass
6969

70-
def on_torrent_added(self, torrent_id):
70+
def on_torrent_added(self, torrent_id, from_state=False):
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
@@ -96,4 +96,3 @@ def set_config(self, config):
9696
def get_config(self):
9797
"""Returns the config dictionary"""
9898
return self.config.config
99-

0 commit comments

Comments
 (0)