autotest: Fix key error
This commit is contained in:
parent
1f3f04e5b8
commit
c4e255fa5f
@ -3387,8 +3387,8 @@ class AutoTest(ABC):
|
||||
"wipe": True,
|
||||
}
|
||||
start_sitl_args.update(**sitl_args)
|
||||
if ("defaults_filepath" not in start_sitl_args or
|
||||
start_sitl_args["defaults_filepath"] is None):
|
||||
if ("defaults_file" not in start_sitl_args or
|
||||
start_sitl_args["defaults_file"] is None):
|
||||
start_sitl_args["defaults_file"] = self.defaults_filepath()
|
||||
|
||||
if "model" not in start_sitl_args or start_sitl_args["model"] is None:
|
||||
|
Loading…
Reference in New Issue
Block a user