Commit 96d0919f authored by norvell's avatar norvell
Browse files

Hack to resolve import when using from command line or from within scripts.

parent cd80cbdd
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -15,7 +15,11 @@ sys.path.append(os.path.join(os.path.dirname(THIS_PATH), "../scripts"))
import numpy as np
import pyaudio3dtools
import pyivastest
# Hack to resolve import when using from command line or from within scripts.
try:
    from .constants import ODG_PATTERN_PQEVALAUDIO
except ImportError:
    from constants import ODG_PATTERN_PQEVALAUDIO


def cmp_pcm(