Update append trackers commit to ignore state file adds
This commit is contained in:
parent
6ad3a770af
commit
2cceb3a349
|
@ -410,6 +410,7 @@ class TorrentManager(component.Component):
|
||||||
add_torrent_params["duplicate_is_error"] = True
|
add_torrent_params["duplicate_is_error"] = True
|
||||||
|
|
||||||
# If torrent already exists just append any extra trackers.
|
# If torrent already exists just append any extra trackers.
|
||||||
|
if state is None:
|
||||||
add_torrent_id = str(add_torrent_params["ti"].info_hash())
|
add_torrent_id = str(add_torrent_params["ti"].info_hash())
|
||||||
if add_torrent_id in self.get_torrent_list():
|
if add_torrent_id in self.get_torrent_list():
|
||||||
log.debug("Torrent (%s) exists, checking for trackers to add...", add_torrent_id)
|
log.debug("Torrent (%s) exists, checking for trackers to add...", add_torrent_id)
|
||||||
|
|
Loading…
Reference in New Issue