Skip to content

Commit

Permalink
Also process button presses
Browse files Browse the repository at this point in the history
  • Loading branch information
bskari committed Nov 28, 2016
1 parent 784799e commit 8b01c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/process_gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def process_lines(in_stream):
run_count = 1
runs = []
for line in in_stream:
if 'Received run command' in line:
if 'Received run command' in line or 'Button pressed' in line:
print('Starting run {}'.format(run_count))
runs.append(process_run(in_stream, run_count))
run_count += 1
Expand Down

0 comments on commit 8b01c0c

Please sign in to comment.