mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Update append trackers commit to ignore state file adds
This commit is contained in:
parent
6ad3a770af
commit
2cceb3a349
1 changed files with 23 additions and 22 deletions
|
@ -410,6 +410,7 @@ class TorrentManager(component.Component):
|
|||
add_torrent_params["duplicate_is_error"] = True
|
||||
|
||||
# If torrent already exists just append any extra trackers.
|
||||
if state is None:
|
||||
add_torrent_id = str(add_torrent_params["ti"].info_hash())
|
||||
if add_torrent_id in self.get_torrent_list():
|
||||
log.debug("Torrent (%s) exists, checking for trackers to add...", add_torrent_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue