Mercurial > libervia-backend
diff sat/plugins/plugin_exp_command_export.py @ 4051:c23cad65ae99
core: renamed `messageReceived` trigger to `message_received`
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 29 May 2023 13:32:08 +0200 |
parents | 524856bd7b19 |
children |
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_command_export.py Mon May 15 17:19:54 2023 +0200 +++ b/sat/plugins/plugin_exp_command_export.py Mon May 29 13:32:08 2023 +0200 @@ -92,7 +92,7 @@ log.info(_("Plugin command export initialization")) self.host = host self.spawned = {} # key = entity - host.trigger.add("messageReceived", self.message_received_trigger, priority=10000) + host.trigger.add("message_received", self.message_received_trigger, priority=10000) host.bridge.add_method( "command_export", ".plugin", @@ -148,7 +148,7 @@ - exclusive: if set, skip all other triggers - loop: if set, restart the command once terminated #TODO - pty: if set, launch in a pseudo terminal - - continue: continue normal messageReceived handling + - continue: continue normal message_received handling """ client = self.host.get_client(profile_key) for target in targets: