Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benmaidel committed Sep 23, 2016
1 parent 537cf06 commit 7d59751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cob_phidget_em_state/scripts/em_state_phidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def phidget_cb(self, msg):
elif (not front_em_active and not rear_em_active) and (self.last_front_em_state and self.last_rear_em_state):
self.em_msg.emergency_button_stop = False
self.em_caused_by_button = False
elif (front_em_active is not rear_em_active) and em_caused_by_button :
elif (front_em_active is not rear_em_active) and self.em_caused_by_button :
self.em_msg.emergency_button_stop = False
self.em_caused_by_button = False
self.em_msg.scanner_stop = (front_em_active or rear_em_active)
Expand Down

0 comments on commit 7d59751

Please sign in to comment.