Fix imports for Python 3
This commit is contained in:
parent
8ef02fa2b1
commit
a196d673df
@ -1,3 +1,5 @@
|
|||||||
from util import *
|
from __future__ import absolute_import, print_function, division
|
||||||
import adsb
|
|
||||||
import ehs
|
from .util import *
|
||||||
|
from . import adsb
|
||||||
|
from . import ehs
|
||||||
|
@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import math
|
import math
|
||||||
import util
|
from . import util
|
||||||
from util import crc
|
from .util import crc
|
||||||
|
|
||||||
|
|
||||||
def df(msg):
|
def df(msg):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import util
|
from . import util
|
||||||
from util import crc
|
from .util import crc
|
||||||
|
|
||||||
|
|
||||||
def df(msg):
|
def df(msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user