mirror of
https://github.com/jopohl/urh.git
synced 2026-03-03 06:54:00 +01:00
9 lines
205 B
Python
9 lines
205 B
Python
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)
|