Browse Source

autotest: Fix key error

zr-v5.1
Samuel Tabor 5 years ago committed by Peter Barker
parent
commit
c4e255fa5f
  1. 4
      Tools/autotest/common.py

4
Tools/autotest/common.py

@ -3387,8 +3387,8 @@ class AutoTest(ABC): @@ -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…
Cancel
Save