Files
NmeaClient/gui/__init__.py
T
2026-05-24 11:52:03 +02:00

9 lines
272 B
Python

import sys, os
_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # nmea_client/
_gui = os.path.dirname(os.path.abspath(__file__)) # nmea_client/gui/
for _p in [_root, _gui]:
if _p not in sys.path:
sys.path.insert(0, _p)