mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for str
This commit is contained in:
parent
4f6f90eb85
commit
943c8e9696
2 changed files with 2 additions and 2 deletions
|
@ -51,4 +51,4 @@ class DialogBox:
|
|||
def textbox(self, text: Union[str, Path], height: int, width: int):
|
||||
""" Display a text box. """
|
||||
if self.configs.dialog:
|
||||
self.d.textbox(str(text), height, width)
|
||||
self.d.textbox(text, height, width)
|
||||
|
|
|
@ -59,7 +59,7 @@ class FormConfigs:
|
|||
def help(self):
|
||||
""" Load the configuration file on a text box. """
|
||||
self.read_file()
|
||||
self.dialog.textbox(self.config_file, 40, 60)
|
||||
self.dialog.textbox(str(self.config_file), 40, 60)
|
||||
self.edit()
|
||||
|
||||
def check_configs(self, configs: dict, tags: list) -> bool:
|
||||
|
|
Loading…
Add table
Reference in a new issue