new gui fixed error display when daemon is not running

This commit is contained in:
Blake Harnden 2020-03-04 20:42:40 -08:00
parent c4234d33f0
commit f826a4c5e8
2 changed files with 3 additions and 3 deletions

View file

@ -446,7 +446,7 @@ class CoreClient:
master = parent_frame
self.app.after(0, show_grpc_error, e, master, self.app)
def set_up(self):
def setup(self):
"""
Query sessions, if there exist any, prompt whether to join one
"""
@ -480,7 +480,7 @@ class CoreClient:
x.node_type: set(x.services) for x in response.defaults
}
except grpc.RpcError as e:
self.app.after(0, show_grpc_error, e, self.app, self.app)
show_grpc_error(e, self.app, self.app)
self.app.close()
def edit_node(self, core_node: core_pb2.Node):