diff --git a/op25/gr-op25/python/__init__.py b/op25/gr-op25/python/__init__.py index f9ce6d5..7338b06 100644 --- a/op25/gr-op25/python/__init__.py +++ b/op25/gr-op25/python/__init__.py @@ -31,9 +31,9 @@ try: from dl import RTLD_GLOBAL as _RTLD_GLOBAL except ImportError: try: - from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL + from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL except ImportError: - pass + pass if _RTLD_GLOBAL != 0: _dlopenflags = sys.getdlopenflags() @@ -42,7 +42,7 @@ if _RTLD_GLOBAL != 0: # import swig generated symbols into the op25 namespace -from op25_swig import * +from .op25_swig import * # import any pure python here # diff --git a/op25/gr-op25_repeater/python/__init__.py b/op25/gr-op25_repeater/python/__init__.py index 4628ad6..bbbc45a 100644 --- a/op25/gr-op25_repeater/python/__init__.py +++ b/op25/gr-op25_repeater/python/__init__.py @@ -31,9 +31,9 @@ try: from dl import RTLD_GLOBAL as _RTLD_GLOBAL except ImportError: try: - from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL + from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL except ImportError: - pass + pass if _RTLD_GLOBAL != 0: _dlopenflags = sys.getdlopenflags() @@ -42,7 +42,7 @@ if _RTLD_GLOBAL != 0: # import swig generated symbols into the op25_repeater namespace -from op25_repeater_swig import * +from .op25_repeater_swig import * # import any pure python here #