Skip to content

Commit

Permalink
[Filters][Fixed] '_none' sometimes ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Feb 14, 2024
1 parent 693fb32 commit 76b622d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Netlist generation problems with components on the PCB but not in schematic.
(#578)
- Filters: _none filter not always honored (i.e. exclude in BoM) (#580)

## [1.6.4] - 2024-02-02
### Added
Expand Down
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 None
return [DummyFilter()]
names = [names]
# Here we should have a list of strings
filters = []
Expand Down

0 comments on commit 76b622d

Please sign in to comment.