Fixed for version

This commit is contained in:
Dimitris Zlatanidis 2023-05-07 17:08:21 +03:00
parent 84710c036f
commit 6246e9fa0f

View file

@ -60,7 +60,11 @@ class SearchPackage(Configs):
if package in name or package == '*':
self.matching += 1
self.data_dict[self.matching] = (repo, name, data_pkg[0])
if self.is_binary:
self.data_dict[self.matching] = (repo, name, data_pkg[0])
else:
self.data_dict[self.matching] = (repo, name, data_pkg[2])
def summary_of_searching(self) -> None:
if self.matching: