bascially ready to ship
This commit is contained in:
9
app.py
9
app.py
@@ -381,8 +381,13 @@ class SessionMoverApp(App):
|
||||
|
||||
def on_mount(self) -> None:
|
||||
"""Initialize app."""
|
||||
self.db.connect()
|
||||
self.db.load_reference_data()
|
||||
try:
|
||||
self.db.connect()
|
||||
self.db.load_reference_data()
|
||||
except FileNotFoundError as e:
|
||||
self.notify(str(e), severity="error", timeout=10)
|
||||
self.set_timer(1, self.exit)
|
||||
return
|
||||
|
||||
self._project_ids: List[str] = []
|
||||
self.refresh_project_list()
|
||||
|
||||
Reference in New Issue
Block a user