mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
BugFixed: AttributeError: 'PosixPath'
This commit is contained in:
parent
d1bac57c91
commit
4f6f90eb85
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
4.4.4 - 31/12/2002
|
||||
BugFixed:
|
||||
- AttributeError: 'PosixPath' object has no attribute 'startswith'
|
||||
|
||||
4.4.3 - 30/12/2022
|
||||
Updated:
|
||||
- Switch to pathlib library
|
||||
|
|
|
@ -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(text, height, width)
|
||||
self.d.textbox(str(text), height, width)
|
||||
|
|
Loading…
Reference in a new issue