Skip to content

Commit

Permalink
[Filters][Fixed] We must return 1 object
Browse files Browse the repository at this point in the history
Wrong in previous patch
  • Loading branch information
set-soft committed Feb 14, 2024
1 parent 76b622d commit 1d8ec52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibot/fil_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def solve_filter(names, target_name, default=None, is_transform=False):
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 = []
Expand Down

0 comments on commit 1d8ec52

Please sign in to comment.