From 517684e84a50b3d874825b85dc866077cb1cc924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 30 Aug 2019 17:47:58 +0200 Subject: [PATCH] Fix TerminalCommandsHandler using old JSON API --- tfw/components/terminal/terminal_commands_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfw/components/terminal/terminal_commands_handler.py b/tfw/components/terminal/terminal_commands_handler.py index dcfd5f0..e47aee5 100644 --- a/tfw/components/terminal/terminal_commands_handler.py +++ b/tfw/components/terminal/terminal_commands_handler.py @@ -5,5 +5,5 @@ class TerminalCommandsHandler(TerminalCommands): keys = ['history.bash'] def handle_event(self, message, _): - command = message['value'] + command = message['command'] self.callback(command)