From 32011b0f98f168bb12ab6193365153ac4c9443a0 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 3 Jan 2024 11:14:44 +0900 Subject: [PATCH] chat: minor format fix --- MAVProxy/modules/mavproxy_chat/chat_openai.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MAVProxy/modules/mavproxy_chat/chat_openai.py b/MAVProxy/modules/mavproxy_chat/chat_openai.py index 78bb290aae..e78c58c802 100644 --- a/MAVProxy/modules/mavproxy_chat/chat_openai.py +++ b/MAVProxy/modules/mavproxy_chat/chat_openai.py @@ -265,13 +265,13 @@ def get_vehicle_type(self, arguments): mavutil.mavlink.MAV_TYPE_VTOL_DUOROTOR, mavutil.mavlink.MAV_TYPE_VTOL_QUADROTOR, mavutil.mavlink.MAV_TYPE_VTOL_TILTROTOR]: - vehicle_type_str = 'Plane' + vehicle_type_str = "Plane" if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_GROUND_ROVER: - vehicle_type_str = 'Rover' + vehicle_type_str = "Rover" if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_SURFACE_BOAT: - vehicle_type_str = 'Boat' + vehicle_type_str = "Boat" if hearbeat_msg.type == mavutil.mavlink.MAV_TYPE_SUBMARINE: - vehicle_type_str = 'Sub' + vehicle_type_str = "Sub" if hearbeat_msg.type in [mavutil.mavlink.MAV_TYPE_QUADROTOR, mavutil.mavlink.MAV_TYPE_COAXIAL, mavutil.mavlink.MAV_TYPE_HEXAROTOR,