From b897ec449c341337ad62293df567bd4419fb566f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 26 Apr 2018 10:12:47 +0200 Subject: [PATCH] Rename TerminadoEventHandler --- solvable/src/event_handler_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index aac0537..1cd5521 100644 --- a/solvable/src/event_handler_main.py +++ b/solvable/src/event_handler_main.py @@ -1,6 +1,6 @@ from tornado.ioloop import IOLoop -from tfw.components import IdeEventHandler, TerminadoEventHandler, ProcessManagingEventHandler, BashMonitor +from tfw.components import IdeEventHandler, TerminalEventHandler, ProcessManagingEventHandler, BashMonitor from tfw.components import TerminalCommands from tfw.networking import MessageSender, TFWServerConnector from tfw.config import TFWENV @@ -57,7 +57,7 @@ if __name__ == '__main__': # pylint: disable=invalid-name ide = IdeEventHandler(key='ide', allowed_directories=[TFWENV.IDE_WD], directory=TFWENV.IDE_WD, exclude=['*.pyc']) - terminado = TerminadoEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE)) + terminado = TerminalEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE)) terminado.historymonitor.subscribe_callback(cenator) commands = TestCommands(bashrc=f'/home/{TAOENV.USER}/.bashrc') terminado.historymonitor.subscribe_callback(commands.callback)