Skip to content

Commit 36875b4

Browse files
committed
mission_item_protocol.py: correct change-mission-item-range output message
1 parent e044890 commit 36875b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MAVProxy/modules/lib/mission_item_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ def change_mission_item_range(self, args, desc, changer, newvalstr):
725725
self.item_num_to_offset(idx),
726726
self.item_num_to_offset(idx+count),
727727
mission_type=self.mav_mission_type())
728-
print("Changed %s for WPs %u:%u to %s" % (desc, idx, idx+(count-1), newvalstr))
728+
print(f"Changed {desc} for {self.itemstype()} {idx}:{idx+(count-1)} to {newvalstr}")
729729

730730
def cmd_changealt(self, args):
731731
'''handle wp change target alt of multiple waypoints'''

0 commit comments

Comments
 (0)