diff --git a/slpkg/dialog_box.py b/slpkg/dialog_box.py index a29949b0..d800f15e 100644 --- a/slpkg/dialog_box.py +++ b/slpkg/dialog_box.py @@ -11,6 +11,7 @@ locale.setlocale(locale.LC_ALL, '') class DialogBox: + """ Class for dialog box library. """ def __init__(self): self.configs = Configs() @@ -19,7 +20,6 @@ class DialogBox: def checklist(self, text, title, height, width, list_height, choices, packages): """ Display a checklist box. """ - if self.configs.dialog: code, tags = self.d.checklist(text, title=title, height=height, width=width, list_height=list_height, choices=choices) @@ -31,7 +31,6 @@ class DialogBox: def mixedform(self, text, title, elements, height, width): """ Display a mixedform box. """ - if self.configs.dialog: code, tags = self.d.mixedform(text=text, title=title, elements=elements, height=height, width=width, help_button=True) @@ -42,11 +41,11 @@ class DialogBox: return code, tags def msgbox(self, text, height, width): - + """ Display a message box. """ if self.configs.dialog: self.d.msgbox(text, height, width) def textbox(self, text, height, width): - + """ Display a text box. """ if self.configs.dialog: self.d.textbox(text, height, width)