diff options
author | Volker Schroer <dl1ksv@gmx.de> | 2018-08-18 23:05:07 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-08-19 14:34:20 +0200 |
commit | b219a8d183e339b6fec2d81284a988037a2d0180 (patch) | |
tree | 6198741414a0672a1f9dff89ef399017b01517ea | |
parent | 102555a43a60aabee8cf39855787ae74de04f2b1 (diff) |
Use proper relative imports in gr-audio's __init__.py
-rw-r--r-- | gr-audio/python/audio/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-audio/python/audio/__init__.py b/gr-audio/python/audio/__init__.py index 03f5d6a93b..30ccd26837 100644 --- a/gr-audio/python/audio/__init__.py +++ b/gr-audio/python/audio/__init__.py @@ -30,8 +30,8 @@ from __future__ import unicode_literals import os try: - from audio_swig import * + from .audio_swig import * except ImportError: dirname, filename = os.path.split(os.path.abspath(__file__)) __path__.append(os.path.join(dirname, "..", "..", "swig")) - from audio_swig import * + from .audio_swig import * |