diff --git a/dronecan/utility.py b/dronecan/utility.py index 4507628..a403420 100644 --- a/dronecan/utility.py +++ b/dronecan/utility.py @@ -50,7 +50,7 @@ def close(self): def handle_Targetted(self, msg): if msg.transfer.source_node_id != self.target_node: return - if msg.message.target_node != self.node_id: + if msg.message.target_node != self.node.node_id: return self.buf.extend(msg.message.buffer)