Browse Source

autotest: fixed exception in convertgpx

master
Andrew Tridgell 7 years ago
parent
commit
b88f2f1da3
  1. 5
      Tools/autotest/autotest.py

5
Tools/autotest/autotest.py

@ -178,7 +178,10 @@ __bin_names = { @@ -178,7 +178,10 @@ __bin_names = {
}
def binary_path(step, debug=False):
vehicle = step.split(".")[1]
try:
vehicle = step.split(".")[1]
except Exception:
return None
if vehicle in __bin_names:
binary_name = __bin_names[vehicle]

Loading…
Cancel
Save