diff --git a/flaskr/content.py b/flaskr/content.py index 28fef6a..38f67a8 100644 --- a/flaskr/content.py +++ b/flaskr/content.py @@ -1,8 +1,9 @@ from collections import namedtuple from yaml import safe_load as yaml_safe_load +from core import get_path -with open('content.yml', 'r') as content_file: +with open(get_path('content.yml'), 'r') as content_file: content_dict = yaml_safe_load(content_file.read()) -- libgit2 0.21.2