mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for value
This commit is contained in:
parent
aefc6a654f
commit
aaf825c852
1 changed files with 1 additions and 1 deletions
|
@ -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} "
|
||||
|
|
Loading…
Reference in a new issue