diff --git a/dialog/di_dialog.py b/dialog/di_dialog.py index 11b9cc0..1f2a028 100644 --- a/dialog/di_dialog.py +++ b/dialog/di_dialog.py @@ -205,7 +205,7 @@ class Group(Dialog): list.append((l[0],'',l[1] == 'yes' and 'on' or 'off')) s,check_list=Dialog.dialog.checklist(text='Plase select the installation package',height=self.height, - width=self.width,list_height=len(list),choices=list,title='choices %s optional'%g) + width=self.width,choices=list,title='choices %s optional'%g) if s == 0 and check_list : if check_list[0] == 'check all': @@ -246,7 +246,6 @@ class Group(Dialog): count = count - 1 if count < 0 or count > len(check_list) - 1: - print count break return s class Service(Dialog):