diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index ef48f53..724e940 100644 --- a/solvable/src/event_handler_main.py +++ b/solvable/src/event_handler_main.py @@ -10,11 +10,11 @@ from tfw.event_handlers import EventHandlerBase, FSMAwareEventHandler, TFWServer from tfw.builtins import FrontendEventHandler from tfw.builtins import IdeEventHandler, TerminalEventHandler from tfw.builtins import LogMonitoringEventHandler, ProcessManagingEventHandler -from tfw.builtins import DirectorySnapshottingEventHandler, FSMManagingEventHandler -from tfw.components import BashMonitor, MessageSender, TerminalCommands +from tfw.builtins import DirectorySnapshottingEventHandler, FSMManagingEventHandler, MessageSender +from tfw.components import TerminalCommands from tfw.config import TFWENV -from tao.config import TAOENV from tfw.config.log import TFWLog +from tao.config import TAOENV LOG = logging.getLogger(__name__) @@ -133,8 +133,7 @@ def main(): exclude=['*.pyc'] ) terminal = TerminalEventHandler( # Web shell backend - key='shell', - monitor=BashMonitor(TFWENV.HISTFILE) + key='shell' ) commands = TerminalCallbackEventHandler( # Reacts to terminal commands 'history.bash',