Fix issue when using 'Active' state

This commit is contained in:
Andrew Resch 2009-01-28 00:03:14 +00:00
parent 47bb52f72a
commit 865921a677
1 changed files with 1 additions and 0 deletions

View File

@ -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"]: