Skip to content

Commit 30c4ede

Browse files
authored
Merge pull request #451 from marslanabdulrauf/marslan/6018-path-import-fix
fix: path import is fixed
2 parents ded5278 + 951376c commit 30c4ede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notesserver/settings/yaml_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import yaml
44
from django.core.exceptions import ImproperlyConfigured
5-
from path import path
5+
from path import Path
66

77
from notesserver.settings.logger import build_logging_config
88

@@ -21,7 +21,7 @@
2121
if not EDXNOTES_CONFIG_ROOT:
2222
raise ImproperlyConfigured("EDXNOTES_CONFIG_ROOT must be defined in the environment.")
2323

24-
CONFIG_ROOT = path(EDXNOTES_CONFIG_ROOT)
24+
CONFIG_ROOT = Path(EDXNOTES_CONFIG_ROOT)
2525

2626
with open(CONFIG_ROOT / "edx_notes_api.yml") as yaml_file:
2727
config_from_yaml = yaml.safe_load(yaml_file)

0 commit comments

Comments
 (0)