Fixed for dialog choose

This commit is contained in:
Dimitris Zlatanidis 2023-03-27 23:59:25 +03:00
parent c1570ea8bf
commit 2a02e51ea2

View file

@ -439,7 +439,11 @@ 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}')]
if self.binary_repo == '*':
repo_ver: str = ''
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver} > {pr[1]}')]
else:
for pkg in packages: