diff --git a/CHANGELOG.md b/CHANGELOG.md index 376b3f91..5d55a51e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/kibot/fil_base.py b/kibot/fil_base.py index 4612623a..58f0305f 100644 --- a/kibot/fil_base.py +++ b/kibot/fil_base.py @@ -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 = []