mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix get_torrent_status returning all keys when cache is outdated
This commit is contained in:
parent
117fe3bb43
commit
bc165133d0
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class SessionProxy(component.Component):
|
|||
def on_status(result, torrent_id):
|
||||
self.torrents[torrent_id][0] = time.time()
|
||||
self.torrents[torrent_id][1].update(result)
|
||||
return self.torrents[torrent_id][1]
|
||||
return result
|
||||
return d.addCallback(on_status, torrent_id)
|
||||
else:
|
||||
d = client.core.get_torrent_status(torrent_id, keys, True)
|
||||
|
|
Loading…
Add table
Reference in a new issue