diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index faf0b3123..9d4904d8e 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -464,9 +464,6 @@ class Torrent: "peers": self.get_peers, } - self.status = None - self.torrent_info = None - # Create the desired status dictionary and return it status_dict = {} @@ -481,6 +478,9 @@ class Torrent: elif key in fns: status_dict[key] = fns[key]() + self.status = None + self.torrent_info = None + return status_dict def apply_options(self):