From e0356b7f10a4c4104b8d2c6fb8d1e0ea0088baa7 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 22 Nov 2008 08:47:16 +0000 Subject: [PATCH] Fix invalidating the torrent status and torrent_info prior to building the status dict --- deluge/core/torrent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):