Use relative path to config file

I don't feel like changing it every time I move the project.  Note that
this will not work unless settings.yaml exists in your working directory
when you run the Python command.
This commit is contained in:
Nate Bowman
2026-10-14 19:09:29 -04:00
parent 82ce8590b1
commit cd93d61129

View File

@@ -4,7 +4,7 @@ import yaml
config_file = '/home/nate/aoe/flashcards/settings.yaml' config_file = 'settings.yaml'
with open(config_file, 'r') as f: with open(config_file, 'r') as f:
c = yaml.safe_load(f) c = yaml.safe_load(f)