mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
autotest: correct diagnostic string
that "f" in front of an f-string is important
This commit is contained in:
parent
1bc4515a39
commit
58eb6367e9
@ -5279,11 +5279,12 @@ class TestSuite(ABC):
|
||||
):
|
||||
'''returns a list of mission-item-ints from filepath'''
|
||||
# self.progress("filepath: %s" % filepath)
|
||||
self.progress("Loading {loaderclass.itemstype()} (%s)" % os.path.basename(filepath))
|
||||
wploader = loaderclass(
|
||||
target_system=target_system,
|
||||
target_component=target_component
|
||||
)
|
||||
itemstype = mavutil.mavlink.enums["MAV_MISSION_TYPE"][wploader.mav_mission_type()]
|
||||
self.progress(f"Loading {itemstype} ({os.path.basename(filepath)}")
|
||||
wploader.load(filepath)
|
||||
return [self.wp_to_mission_item_int(x, wploader.mav_mission_type()) for x in wploader.wpoints] # noqa:502
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user