Fixed for dialog choose

This commit is contained in:
Dimitris Zlatanidis 2023-03-27 23:43:32 +03:00
parent c493aef80f
commit c1570ea8bf

View file

@ -439,7 +439,7 @@ class Argparse(Configs):
if pkg in pr[0] or pkg == '*':
repo_ver: str = BinQueries(pr[0], pr[1]).version()
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver} > {pr[1]}')]
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver}')]
else:
for pkg in packages:
@ -461,7 +461,7 @@ class Argparse(Configs):
if not tags:
return packages
return tags
return list(set(tags))
def help(self) -> None:
if len(self.args) == 1: