Fix the Database no being put on the right path according with the config.toml

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-07-16 16:39:31 -03:00
parent bdaa37e355
commit 967c7e4ce6
4 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class NewDiaryModal(ModalScreen[str]):
Binding("escape", "cancel", "Cancel"),
Binding("enter", "create_diary", "Create",priority=True),
]
def __init__(self,autoopen=True):
def __init__(self,autoopen:bool = True):
super().__init__()
self.auto_open = autoopen
self.name_input = Input(id="NewDiaryModal-NameInput",classes="NewDiaryModal-NameInput") # This ID is fine, it's specific to the input