Bussy-boy/config.py

9 lines
202 B
Python
Raw Normal View History

2023-07-09 23:00:43 +00:00
import yaml
import os
current_dir = os.path.dirname(os.path.realpath(__file__))
config_path = os.path.join(current_dir, "config.yaml")
with open(config_path, "r") as f:
config = yaml.safe_load(f)