Updated for value

This commit is contained in:
Dimitris Zlatanidis 2023-05-22 22:41:26 +03:00
parent aefc6a654f
commit aaf825c852

View file

@ -72,7 +72,7 @@ class SearchPackage(Configs):
try:
name_length: int = max(len(name['name']) for name in self.data_dict.values())
except ValueError:
name_length: int = 2
name_length: int = 1
if self.matching:
for item in self.data_dict.values():
print(f"{item['repository']}: {self.cyan}{item['name']:<{name_length}}{self.endc} "