We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ded5278 + 951376c commit 30c4edeCopy full SHA for 30c4ede
notesserver/settings/yaml_config.py
@@ -2,7 +2,7 @@
2
3
import yaml
4
from django.core.exceptions import ImproperlyConfigured
5
-from path import path
+from path import Path
6
7
from notesserver.settings.logger import build_logging_config
8
@@ -21,7 +21,7 @@
21
if not EDXNOTES_CONFIG_ROOT:
22
raise ImproperlyConfigured("EDXNOTES_CONFIG_ROOT must be defined in the environment.")
23
24
-CONFIG_ROOT = path(EDXNOTES_CONFIG_ROOT)
+CONFIG_ROOT = Path(EDXNOTES_CONFIG_ROOT)
25
26
with open(CONFIG_ROOT / "edx_notes_api.yml") as yaml_file:
27
config_from_yaml = yaml.safe_load(yaml_file)
0 commit comments