diff --git a/slpkg/search.py b/slpkg/search.py index 433bb776..7b55d21f 100644 --- a/slpkg/search.py +++ b/slpkg/search.py @@ -38,7 +38,7 @@ class SearchPackage(Configs): def search_to_all_repositories(self) -> None: for repo, enable in self.repos.repositories.items(): - if enable: # Check if the repository is enabled + if enable[0]: # Check if the repository is enabled if self.utils.is_binary_repo(repo): data: dict = BinQueries(repo).repository_data() self.search_for_the_packages(data, repo)