mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated if statement
This commit is contained in:
parent
3a6eb10bfa
commit
1e11e6115f
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue