From 80e3c49053cfff5c80266a2d12d75447868dd6ce Mon Sep 17 00:00:00 2001 From: Matt Webb Date: Fri, 26 Sep 2014 09:46:16 +0100 Subject: [PATCH] bug fix in handling device command response --- app/core/command_sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/command_sender.py b/app/core/command_sender.py index 784e86a..f23dcab 100644 --- a/app/core/command_sender.py +++ b/app/core/command_sender.py @@ -119,7 +119,7 @@ class _CommandQueue(object): if self.device_pending[da][0] == command.id: self.device_pending[da] = None self.device_queue[da] = \ - [c for c in self.device_queue[da] if c.id != command.id] + [c for c in self.device_queue[da] if c[0] != command.id] def prepare_commands_to_send(self): commands_to_send = [] -- 2.47.3