diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py index b09f39154..53e95030c 100644 --- a/deluge/core/filtermanager.py +++ b/deluge/core/filtermanager.py @@ -153,7 +153,7 @@ class FilterManager(component.Component): #sanitize input: filter-value must be a list of strings for key, value in filter_dict.items(): - if not isinstance(value, list): + if isinstance(value, basestring): filter_dict[key] = [value] if "id"in filter_dict: #optimized filter for id: