From 6b2e6462a7607f012b8ce70c8933cd8a338c939b Mon Sep 17 00:00:00 2001 From: valkjsaaa Date: Thu, 9 Mar 2017 12:36:12 -0800 Subject: [PATCH] make Python 3 compatible --- droneconfig.py | 2 +- minidrone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/droneconfig.py b/droneconfig.py index 3057bfc..57f7a73 100755 --- a/droneconfig.py +++ b/droneconfig.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import ConfigParser +from configparser import ConfigParser import dronedict CONFIG_FILE = 'drone.conf' diff --git a/minidrone.py b/minidrone.py index d70f9a4..5a9d32f 100755 --- a/minidrone.py +++ b/minidrone.py @@ -3,7 +3,7 @@ import time import pexpect import threading -from Queue import Queue +from queue import Queue import binascii import os import re