Updated for str

This commit is contained in:
Dimitris Zlatanidis 2022-12-31 18:17:07 +02:00
parent 4f6f90eb85
commit 943c8e9696
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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: