jp: use the new actionsGet method

This commit is contained in:
Goffi 2015-11-17 21:29:03 +01:00
commit 09619e6723

View file

@ -577,3 +577,6 @@ class CommandAnswering(CommandBase):
self.need_loop = True
super(CommandAnswering, self).connected()
self.host.bridge.register("actionNew", self.onActionNew)
actions = self.host.bridge.actionsGet(self.profile)
for action_data, action_id, security_limit in actions:
self.onActionNew(action_data, action_id, security_limit, self.profile)