Fix issue when using 'Active' state
This commit is contained in:
parent
47bb52f72a
commit
865921a677
|
@ -107,6 +107,7 @@ class FilterManager(component.Component):
|
||||||
return torrent_ids
|
return torrent_ids
|
||||||
|
|
||||||
#special purpose: state=Active.
|
#special purpose: state=Active.
|
||||||
|
filter_dict["state"] = list(filter_dict["state"])
|
||||||
if "state" in filter_dict and "Active" in filter_dict["state"]:
|
if "state" in filter_dict and "Active" in filter_dict["state"]:
|
||||||
filter_dict["state"].remove("Active")
|
filter_dict["state"].remove("Active")
|
||||||
if not filter_dict["state"]:
|
if not filter_dict["state"]:
|
||||||
|
|
Loading…
Reference in New Issue