diff --git a/config.py b/config.py index 38b8da9..596974e 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,6 @@ import yaml +import os +import sys -with open("config.yaml", "r") as f: +with open(os.path.join(sys.path[0], "config.yaml"), "r") as f: settings = yaml.safe_load(f)