[Filters][Fixed] We must return 1 object

Wrong in previous patch
This commit is contained in:
Salvador E. Tropea 2024-02-14 16:38:04 -03:00
parent 76b622d788
commit 1d8ec52640
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ class BaseFilter(RegFilter):
elif isinstance(names, str):
# User provided, but only one, make a list
if names == '_none':
return [DummyFilter()]
return DummyFilter()
names = [names]
# Here we should have a list of strings
filters = []