JamesHarrison/openob

Index error on peak measurements in TX

JamesHarrison opened this issue · 1 comments

Not sure what's causing this; only happens on the one sound card. Receiver seems happy.

IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenOB-2.3-py2.7.egg/openob/rtp/tx.py", line 126, in on_message
    if int(message.structure['peak'][0]) > -1 or int(message.structure['peak'][1]) > -1:
IndexError: list index out of range````

Fixed - mono compat issue.