Fixed for cancel

This commit is contained in:
Dimitris Zlatanidis 2023-03-29 23:11:27 +03:00
parent 951d98640c
commit 37c008dbb2

View file

@ -453,9 +453,11 @@ class Argparse(Configs):
text: str = f'There are {len(choices)} packages:'
code, tags = self.dialogbox.checklist(text, packages, title, height,
width, list_height, choices)
os.system('clear')
if code == 'cancel':
raise SystemExit()
if not tags:
return packages