[Filters][Fixed] '_none' sometimes ignored
This commit is contained in:
parent
693fb32b7d
commit
76b622d788
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ class BaseFilter(RegFilter):
|
|||
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 = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue