mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[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.
This commit is contained in:
parent
9f3b2f3167
commit
dd34492e16
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue