fix error in #2085 commit 3ca886ac7ad5: value may be a tuple
This commit is contained in:
parent
c556613b9f
commit
3bf023e4df
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue