From f9b78929762ed3cb30e0c384f8d9c75d82ec3edf Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 29 Sep 2015 19:05:50 +0100 Subject: [PATCH] [Core] Reset trackers in force_recheck only if paused --- deluge/core/torrent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 8c8c0e854..7fa570f47 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -940,7 +940,8 @@ class Torrent(object): except Exception, e: log.debug("Unable to force recheck: %s", e) self.forcing_recheck = False - self.set_trackers(torrent.trackers, reannounce=False) + if self.forcing_recheck_paused: + self.set_trackers(torrent.trackers, reannounce=False) return self.forcing_recheck