From 956ea10a003a6ab5d9a2fa60db5d878671c263eb Mon Sep 17 00:00:00 2001 From: Nick Lanham Date: Tue, 22 Feb 2011 16:56:54 +0100 Subject: [PATCH] convert torrent_ids back into a list in case we need to remove from it --- deluge/core/filtermanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index 359eb45a5..e04cb9dbb 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -136,7 +136,7 @@ class FilterManager(component.Component): if "id"in filter_dict: #optimized filter for id: - torrent_ids = filter_dict["id"] + torrent_ids = list(filter_dict["id"]) del filter_dict["id"] else: torrent_ids = self.torrents.get_torrent_list()