Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tariq Abusheikh committed Dec 5, 2019
1 parent de27f07 commit 57ad803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/single.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion fly_tello.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

#
Expand Down

0 comments on commit 57ad803

Please sign in to comment.