mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
autotest: fixed exception in convertgpx
This commit is contained in:
parent
fc237ee9a0
commit
b88f2f1da3
@ -178,7 +178,10 @@ __bin_names = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def binary_path(step, debug=False):
|
def binary_path(step, debug=False):
|
||||||
|
try:
|
||||||
vehicle = step.split(".")[1]
|
vehicle = step.split(".")[1]
|
||||||
|
except Exception:
|
||||||
|
return None
|
||||||
|
|
||||||
if vehicle in __bin_names:
|
if vehicle in __bin_names:
|
||||||
binary_name = __bin_names[vehicle]
|
binary_name = __bin_names[vehicle]
|
||||||
|
Loading…
Reference in New Issue
Block a user