Module: deluge Branch: master Commit: 956ea10a003a6ab5d9a2fa60db5d878671c263eb
Author: Nick Lanham <[email protected]> Date: Tue Feb 22 16:56:54 2011 +0100 convert torrent_ids back into a list in case we need to remove from it --- deluge/core/filtermanager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index 359eb45..e04cb9d 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() -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
