mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix invalidating the torrent status and torrent_info prior to building
the status dict
This commit is contained in:
parent
9698b36523
commit
e0356b7f10
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue