From dd34492e16d8efa17b329a9dec4c37b94783385f Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 27 Nov 2015 12:03:45 +0000 Subject: [PATCH] [Core] Update tracker_host when setting new tracker status * Fixes the tracker_host not updating when a tracker announce is received from a different tracker and sets the tracker status. --- deluge/core/torrent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 934263683..050c9cf3a 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -384,6 +384,7 @@ class Torrent(object): def set_tracker_status(self, status): """Sets the tracker status""" + self.tracker_host = None self.tracker_status = self.get_tracker_host() + ": " + status def update_state(self):