Comply new API style in TerminalEH

This commit is contained in:
Kristóf Tóth 2018-05-31 14:08:29 +02:00
parent ea251ef474
commit e98c41d3cf

View File

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