mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[GTKUI] Fix call on sessionproxy.get_torrent_status with bad argument
This commit is contained in:
parent
067ca38321
commit
973e2d2ef8
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ class MenuBar(component.Component):
|
|||
torrent_ids = component.get("TorrentView").get_selected_torrents()
|
||||
if len(torrent_ids) == 1:
|
||||
core_key_global = core_key
|
||||
d = component.get("SessionProxy").get_torrent_status(torrent_ids[0], {core_key})
|
||||
d = component.get("SessionProxy").get_torrent_status(torrent_ids[0], [core_key])
|
||||
else:
|
||||
d = client.core.get_config_values([core_key_global])
|
||||
d.addCallback(_on_torrent_status)
|
||||
|
|
Loading…
Add table
Reference in a new issue