diff --git a/hints.py b/hints.py index 1f72143..2f0c490 100644 --- a/hints.py +++ b/hints.py @@ -26,7 +26,7 @@ class HintCollection: return [ hint for hint in self._hints if (type is None or type == hint.type) and - (onlyactive or hint.active) and + (hint.active or not onlyactive) and (package is None or package == hint.packages[0].package) and (version is None or version == hint.packages[0].version) and (removal is None or removal == hint.packages[0].is_removal)