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

@ -1411,13 +1411,12 @@ class Session:
"""
Generate and broadcast an exception event.
:param str level: exception level
:param core.emulator.enumerations.ExceptionLevel level: exception level
:param str source: source name
:param int node_id: node related to exception
:param str text: exception message
:return: nothing
"""
exception_data = ExceptionData(
node=node_id,
session=str(self.id),
@ -1426,7 +1425,6 @@ class Session:
date=time.ctime(),
text=text,
)
self.broadcast_exception(exception_data)
def instantiate(self):