mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 10:31:31 +00:00
Comply new API style in TerminalEH
This commit is contained in:
parent
ea251ef474
commit
e98c41d3cf
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user