Commit 00d8c70e319dbc5374b9dd30bf63284909ffa6ab
1 parent
e5e21954
Exists in
dev
fix default path to import vendor
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/core/pyros_django/dashboard/config_pyros.py
... | ... | @@ -5,8 +5,7 @@ import time |
5 | 5 | import pykwalify.core |
6 | 6 | from pykwalify.errors import SchemaError |
7 | 7 | |
8 | -sys.path.append(os.environ.get("PROJECT_ROOT_PATH", "../../../../")) | |
9 | - | |
8 | +sys.path.append(os.environ.get("PROJECT_ROOT_PATH", os.path.join(os.getcwd(),"../../../"))) | |
10 | 9 | from vendor.guitastro.src.guitastro import FileNames |
11 | 10 | |
12 | 11 | ... | ... |