improved coretk gui alerts to display alert text when selected, fixed merged code for adding a check to cleanup interfaces, updated session.exceptions to use enums directly

This commit is contained in:
Blake Harnden 2019-12-20 10:51:52 -08:00
parent c0c23190d1
commit 513eaf2b76
8 changed files with 50 additions and 60 deletions

View file

@ -145,7 +145,7 @@ def handle_exception_event(event):
"""
return core_pb2.ExceptionEvent(
node_id=event.node,
level=event.level,
level=event.level.value,
source=event.source,
date=event.date,
text=event.text,

View file

@ -299,7 +299,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
[
(ExceptionTlvs.NODE, exception_data.node),
(ExceptionTlvs.SESSION, exception_data.session),
(ExceptionTlvs.LEVEL, exception_data.level),
(ExceptionTlvs.LEVEL, exception_data.level.value),
(ExceptionTlvs.SOURCE, exception_data.source),
(ExceptionTlvs.DATE, exception_data.date),
(ExceptionTlvs.TEXT, exception_data.text),