Remove the wrong error message and made the program exit if no session is found

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-07-24 19:36:12 -03:00
parent bb9457978c
commit c3397ab982
+3 -1
View File
@@ -312,4 +312,6 @@ class DiaryListScreen(Screen):
else:
self.notify(f"Error performing backup: {result_data}")
else:
self.notify("You must be logged in to perform this action")
self.notify("Error: Session not found",severity="error")
self.app.exit()