Merge pull request #3 from astrofrog/python3

Fix imports for Python 3
This commit is contained in:
Junzi Sun
2016-07-07 17:22:35 +02:00
committed by GitHub
3 changed files with 9 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
from util import *
import adsb
import ehs
from __future__ import absolute_import, print_function, division
from .util import *
from . import adsb
from . import ehs

View File

@@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import math
import util
from util import crc
from . import util
from .util import crc
def df(msg):

View File

@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import util
from util import crc
from . import util
from .util import crc
def df(msg):