mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fixes bug in core.get_torrents_status where diff was always False
Fixes bug introduced in 5cd86aa5bc
where the diff
argument passed to torrentmanager.torrents_status_update is always False
instead of the value passed into get_torrents_status. This causes the sessionproxy
not to function properly which in turn increases CPU usage in the UIs.
This commit is contained in:
parent
e183e2ff04
commit
2a3eb7b70c
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ class Core(component.Component):
|
|||
"""
|
||||
torrent_ids = self.filtermanager.filter_torrent_ids(filter_dict)
|
||||
status_dict = {}.fromkeys(torrent_ids)
|
||||
d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=False)
|
||||
d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=diff)
|
||||
|
||||
def add_plugin_fields(args):
|
||||
status_dict, plugin_keys = args
|
||||
|
|
Loading…
Add table
Reference in a new issue