Skip to content

Commit

Permalink
[python] fix typo in serial.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Mar 7, 2018
1 parent 2705ced commit f274145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2.0/python/pprzlink/serial.py
Expand Up @@ -56,7 +56,7 @@ def run(self):
if self.verbose:
print("New incoming message '%s' from %i (%i) to %i" % (msg.name, sender_id, component_id, receiver_id))
# Callback function on new message
if self.id == receiver_id
if self.id == receiver_id:
self.callback(sender_id, msg)

except StopIteration:
Expand Down

0 comments on commit f274145

Please sign in to comment.