summaryrefslogtreecommitdiff
path: root/gr-trellis/python/trellis/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/python/trellis/__init__.py')
-rw-r--r--gr-trellis/python/trellis/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-trellis/python/trellis/__init__.py b/gr-trellis/python/trellis/__init__.py
index a6b5ed0038..445a381424 100644
--- a/gr-trellis/python/trellis/__init__.py
+++ b/gr-trellis/python/trellis/__init__.py
@@ -21,15 +21,16 @@
'''
Blocks and utilities for trellis coding and related.
'''
+from __future__ import unicode_literals
# The presence of this file turns this directory into a Python package
import os
try:
- from trellis_swig import *
+ from .trellis_swig import *
except ImportError:
dirname, filename = os.path.split(os.path.abspath(__file__))
__path__.append(os.path.join(dirname, "..", "..", "swig"))
- from trellis_swig import *
+ from .trellis_swig import *
# import any pure python here