Fix crash on daemon not running
This commit is contained in:
parent
09c7e7521f
commit
275ba9a3d2
|
@ -101,8 +101,7 @@ class GoldwardenSettingsApp(Adw.Application):
|
||||||
if status == None:
|
if status == None:
|
||||||
is_daemon_running = goldwarden.is_daemon_running()
|
is_daemon_running = goldwarden.is_daemon_running()
|
||||||
if not is_daemon_running:
|
if not is_daemon_running:
|
||||||
self.status_row.set_subtitle("Daemon not running")
|
print("Daemon not running")
|
||||||
self.vault_status_icon.set_icon("dialog-error", "error")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
logged_in = status["loggedIn"]
|
logged_in = status["loggedIn"]
|
||||||
|
|
Loading…
Reference in New Issue