From 973e2d2ef841c6ba3a8f2e18f4b4ab05a67d8a4e Mon Sep 17 00:00:00 2001 From: bendikro Date: Thu, 6 Mar 2014 16:17:28 +0100 Subject: [PATCH] [GTKUI] Fix call on sessionproxy.get_torrent_status with bad argument --- deluge/ui/gtkui/menubar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/menubar.py b/deluge/ui/gtkui/menubar.py index 6e2efe314..050168109 100644 --- a/deluge/ui/gtkui/menubar.py +++ b/deluge/ui/gtkui/menubar.py @@ -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)