Skip to content

Commit

Permalink
utility: fixed node_id check
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Jul 8, 2023
1 parent 4961328 commit 208ea42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dronecan/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 208ea42

Please sign in to comment.