convert torrent_ids back into a list in case we need to remove from it

This commit is contained in:
Nick Lanham 2011-02-22 16:56:54 +01:00
parent 543fcf722c
commit 956ea10a00
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class FilterManager(component.Component):
if "id"in filter_dict: #optimized filter for id: if "id"in filter_dict: #optimized filter for id:
torrent_ids = filter_dict["id"] torrent_ids = list(filter_dict["id"])
del filter_dict["id"] del filter_dict["id"]
else: else:
torrent_ids = self.torrents.get_torrent_list() torrent_ids = self.torrents.get_torrent_list()