diff --git a/slpkg/find_installed.py b/slpkg/find_installed.py index d422cefc..869da014 100644 --- a/slpkg/find_installed.py +++ b/slpkg/find_installed.py @@ -21,7 +21,7 @@ class FindInstalled(Configs): self.endc: str = self.color['endc'] self.grey: str = self.color['grey'] - self.installed: list = self.utils.installed_packages + self.installed: dict = self.utils.installed_packages def find(self, packages: list) -> None: """ Find the packages. """ @@ -31,7 +31,7 @@ class FindInstalled(Configs): f'that contains \'{", ".join([p for p in packages])}\' files:\n') for pkg in packages: - for package in self.installed: + for package in self.installed.values(): if pkg in package or pkg == '*': matching.append(package)