From 57ad803b0f1316ffb51ff698bf0616b9522c17ac Mon Sep 17 00:00:00 2001 From: Tariq Abusheikh Date: Thu, 5 Dec 2019 04:36:23 -0600 Subject: [PATCH] Minor cleanup --- demos/single.py | 2 +- fly_tello.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/single.py b/demos/single.py index 82b1094..63a37a3 100644 --- a/demos/single.py +++ b/demos/single.py @@ -12,7 +12,7 @@ # Read all serial numbers from a serial_numbers.txt file tello_sn_list = FlyTello.read_serial_numbers_from_file() -# Since this is a single Tello demo, we only need one Tello SN +# Since this is a single Tello demo, we only need one Tello serial number tello_sn_list = [tello_sn_list[0]] # Control the flight with FlyTello(tello_sn_list) as fly: diff --git a/fly_tello.py b/fly_tello.py index fadba16..a2dbc3c 100644 --- a/fly_tello.py +++ b/fly_tello.py @@ -295,7 +295,7 @@ def set_pad_detection(self, direction: str, tello: Union[int, str] = 'All', sync self._command_with_options('mdirection', 'Set', dir_dict[direction], [0, 1, 2], tello, sync) def set_ap_wifi(self, ssid: str, password: str, tello: Union[int, str] = 'All', sync: bool = False) -> None: - """ Tell the Tello to connect to an existing WiFi network using the supplied ssid and password. """ + """ Tell the Tello to connect to an existing WiFi network using the supplied SSID and password. """ self._command('ap %s %s' % (ssid, password), 'Set', tello, sync) #