From 8e6a7f8eadc38f9bc8f77c6f33c10eb8c67651db Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 17 Apr 2024 19:24:51 +1000 Subject: [PATCH] Copter: correct name used to retrieve parameters for frame --- Tools/autotest/arducopter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 7798ac915b..969992c434 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -8881,8 +8881,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite): # the model string for Callisto has crap in it.... we # should really have another entry in the vehicleinfo data # to carry the path to the JSON. - actual_model = model.split(":")[0] - defaults = self.model_defaults_filepath(actual_model) + defaults = self.model_defaults_filepath(frame) if not isinstance(defaults, list): defaults = [defaults] self.customise_SITL_commandline(