mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-09-08 19:34:10 +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.
|
Useful for pre-typing and executing commands for the user.
|
||||||
|
|
||||||
:param data: TFW message data containing keys:
|
: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):
|
def read(self, data):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user