diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index 110443f0d..d806025d3 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -130,8 +130,8 @@ class FilterManager(component.Component): filter_dict[key] = [value] - if "id"in filter_dict: #optimized filter for id: - torrent_ids = filter_dict["id"] + if "id" in filter_dict: #optimized filter for id: + torrent_ids = list(filter_dict["id"]) del filter_dict["id"] else: torrent_ids = self.torrents.get_torrent_list()