From 07e57681c5a93464006b14666c82b0e9ad427965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 7 Apr 2018 14:18:41 +0200 Subject: [PATCH] Follow renamings in baseimage --- solvable/src/event_handler_main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index 2f4f825..584962b 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 SourceCodeEventHandler, TerminadoEventHandler, ProcessManagingEventHandler, BashMonitor +from tfw.components import WebideEventHandler, TerminadoEventHandler, ProcessManagingEventHandler, BashMonitor from tfw.networking import MessageSender, TFWServerConnector from tfw.config import TFWENV from tfw.config.logs import logging @@ -39,8 +39,8 @@ toggle_next.button_state = False if __name__ == '__main__': # pylint: disable=invalid-name - ide = SourceCodeEventHandler(key='webide', allowed_directories=[TFWENV.WEBIDE_WD], - directory=TFWENV.WEBIDE_WD, exclude=['*.pyc']) + ide = WebideEventHandler(key='webide', allowed_directories=[TFWENV.WEBIDE_WD], + directory=TFWENV.WEBIDE_WD, exclude=['*.pyc']) terminado = TerminadoEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE)) terminado.historymonitor.subscribe_callback(cenator) terminado.historymonitor.subscribe_callback(selectdir)