lego-monitoring/misc/common.py

4 lines
135 B
Python

import os
from pathlib import Path
CONFIG_FILE = (Path(os.path.dirname(os.path.realpath(__file__))) / ".." / "config.json").resolve()