diff options
author | Andrew Resch <andrewresch@gmail.com> | 2008-11-22 08:47:16 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2008-11-22 08:47:16 +0000 |
commit | e0356b7f10a4c4104b8d2c6fb8d1e0ea0088baa7 (patch) | |
tree | cf6b17c0f86e9bbed8ca19c5ef5f4b81bde6ecdb | |
parent | 9698b36523b27a6644ee7bb200a7313031bc1eb2 (diff) | |
download | deluge-e0356b7f10a4c4104b8d2c6fb8d1e0ea0088baa7.tar.gz deluge-e0356b7f10a4c4104b8d2c6fb8d1e0ea0088baa7.tar.bz2 deluge-e0356b7f10a4c4104b8d2c6fb8d1e0ea0088baa7.zip |
Fix invalidating the torrent status and torrent_info prior to building
the status dict
-rw-r--r-- | deluge/core/torrent.py | 6 |
1 files 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): |