Tools: sim_vehicle.py fix for Python 3

This commit is contained in:
Miguel Arroyo 2017-05-16 18:46:59 -04:00 committed by Peter Barker
parent 9cb068d3f4
commit d9546523a3
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ parser = CompatOptionParser("sim_vehicle.py",
"you are simulating, for example, start in the ArduPlane directory to " \
"simulate ArduPlane")
parser.add_option("-v", "--vehicle", type='choice', default=None, help="vehicle type (%s)" % vehicle_options_string, choices=_options.keys())
parser.add_option("-v", "--vehicle", type='choice', default=None, help="vehicle type (%s)" % vehicle_options_string, choices=list(_options.keys()))
parser.add_option("-f", "--frame", type='string', default=None, help="""set vehicle frame type
%s""" % (generate_frame_help()))