mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-15 03:41:16 +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:
|
try:
|
||||||
name_length: int = max(len(name['name']) for name in self.data_dict.values())
|
name_length: int = max(len(name['name']) for name in self.data_dict.values())
|
||||||
except ValueError:
|
except ValueError:
|
||||||
name_length: int = 2
|
name_length: int = 1
|
||||||
if self.matching:
|
if self.matching:
|
||||||
for item in self.data_dict.values():
|
for item in self.data_dict.values():
|
||||||
print(f"{item['repository']}: {self.cyan}{item['name']:<{name_length}}{self.endc} "
|
print(f"{item['repository']}: {self.cyan}{item['name']:<{name_length}}{self.endc} "
|
||||||
|
|
Loading…
Reference in a new issue