HackRF-Treasure-Chest/Software/Universal Radio Hacker/tests/auto_interpretation/__init__.py

7 lines
209 B
Python
Raw Permalink Normal View History

2022-09-22 22:46:47 +02:00
import os
import sys
f = os.readlink(__file__) if os.path.islink(__file__) else __file__
path = os.path.realpath(os.path.join(f, "..", "..", "..", "src"))
if path not in sys.path:
sys.path.insert(0, path)