pygui: fixed issue with changes to protobuf files for getting emane model configs on a session

This commit is contained in:
Blake Harnden 2020-07-28 22:45:42 -07:00
parent 858e771efd
commit fe36d28522
4 changed files with 14 additions and 5 deletions

View file

@ -404,6 +404,8 @@ class CoreClient:
self.app.show_grpc_exception("New Session Error", e)
def delete_session(self, session_id: int = None) -> None:
if session_id is None and not self.session:
return
if session_id is None:
session_id = self.session.id
try: