From 6114c2e097bad9021bd0c06ff30086dceb3ebe1f Mon Sep 17 00:00:00 2001 From: Dennis Baldwin Date: Thu, 30 Aug 2018 09:50:20 -0500 Subject: [PATCH] Explicitly adding sys import in cases where it may not be pre-loaded --- lesson6-keyboard-commands/TelloKeyboardCommands.ipynb | 1 + lesson6-keyboard-commands/TelloKeyboardCommands.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lesson6-keyboard-commands/TelloKeyboardCommands.ipynb b/lesson6-keyboard-commands/TelloKeyboardCommands.ipynb index 74d8de0..05c2c3f 100644 --- a/lesson6-keyboard-commands/TelloKeyboardCommands.ipynb +++ b/lesson6-keyboard-commands/TelloKeyboardCommands.ipynb @@ -10,6 +10,7 @@ "import socket\n", "import threading\n", "import time\n", + "import sys\n", "\n", "# IP and port of Tello\n", "tello_address = ('192.168.10.1', 8889)\n", diff --git a/lesson6-keyboard-commands/TelloKeyboardCommands.py b/lesson6-keyboard-commands/TelloKeyboardCommands.py index f5be313..ab3a9e8 100644 --- a/lesson6-keyboard-commands/TelloKeyboardCommands.py +++ b/lesson6-keyboard-commands/TelloKeyboardCommands.py @@ -6,6 +6,7 @@ import socket import threading import time +import sys # IP and port of Tello tello_address = ('192.168.10.1', 8889)