Skip to content

Commit

Permalink
check result of external programs when receiving message
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl committed Mar 24, 2018
1 parent 4be1681 commit d3b844f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/urh/simulator/Simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ def check_message(self, received_msg, expected_msg, retry: int, msg_index: int)
return False, "Failed to decode message {}".format(msg_index)

for lbl in received_msg.message_type:
if lbl.value_type_index in [1, 3, 4]:
# get live, external program, random
if lbl.value_type_index in (1, 4):
# get live, random
continue

start_recv, end_recv = received_msg.get_label_range(lbl.label, 0, True)
Expand Down

0 comments on commit d3b844f

Please sign in to comment.