Updated if statement

This commit is contained in:
Dimitris Zlatanidis 2022-12-26 17:15:37 +02:00
parent 3a6eb10bfa
commit 1e11e6115f

View file

@ -111,6 +111,9 @@ class Argparse:
else:
choices += [(package, repo_ver, False)]
if not choices:
return packages
text = f'There are {len(choices)} packages:'
code, tags = self.dialog.checklist(text, title, height, width, list_height, choices, packages)