From e98c41d3cfe8666149f8a16fec1114a1366890bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 31 May 2018 14:08:29 +0200 Subject: [PATCH] Comply new API style in TerminalEH --- lib/tfw/components/terminal_event_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tfw/components/terminal_event_handler.py b/lib/tfw/components/terminal_event_handler.py index 78041ef..9f7a640 100644 --- a/lib/tfw/components/terminal_event_handler.py +++ b/lib/tfw/components/terminal_event_handler.py @@ -55,9 +55,9 @@ class TerminalEventHandler(EventHandlerBase): Useful for pre-typing and executing commands for the user. :param data: TFW message data containing keys: - |-shellcmd: command to be written to the pty + |-value: command to be written to the pty """ - self.terminado_server.pty.write(data['shellcmd']) + self.terminado_server.pty.write(data['value']) def read(self, data): """