[go: nahoru, domu]

Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
pb66 committed Dec 9, 2014
1 parent 366b3db commit 6b01fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emonhub_interfacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _validate_frame(self, ref, received):
return False

# Discard if first value is not a valid node id
if received[0] % 1 != 0 or received[0] < 0 or received[0] > 31
if received[0] % 1 != 0 or received[0] < 0 or received[0] > 31:
self._log.warning(str(ref) + " Discarded RX frame 'node id outside scope' : " + str(received))
return False

Expand Down

0 comments on commit 6b01fa6

Please sign in to comment.