From 865921a6771dcf0801c5e94490a15c561f791620 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 28 Jan 2009 00:03:14 +0000 Subject: [PATCH] Fix issue when using 'Active' state --- deluge/core/filtermanager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index e3eae47e3..cf58d68eb 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -107,6 +107,7 @@ class FilterManager(component.Component): return torrent_ids #special purpose: state=Active. + filter_dict["state"] = list(filter_dict["state"]) if "state" in filter_dict and "Active" in filter_dict["state"]: filter_dict["state"].remove("Active") if not filter_dict["state"]: