1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:47:18 +00:00

Follow renamings in baseimage

This commit is contained in:
Kristóf Tóth 2018-04-07 14:18:41 +02:00
parent 7b016bb252
commit 07e57681c5

View File

@ -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)