mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -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):
|
||||
vehicle = step.split(".")[1]
|
||||
try:
|
||||
vehicle = step.split(".")[1]
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
if vehicle in __bin_names:
|
||||
binary_name = __bin_names[vehicle]
|
||||
|
Loading…
Reference in New Issue
Block a user