Commit b9996125 by Gregory Martin

update config

parent bb032e78
......@@ -27,8 +27,8 @@ get auth keys from instance yaml
"""
auth_yaml = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'frontend_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'instance_config.yaml'
)
with open(auth_yaml, 'r') as stream:
......
......@@ -15,8 +15,8 @@ from frontend_env import *
Import Django Shit
"""
auth_yaml = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'frontend_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'instance_config.yaml'
)
with open(auth_yaml, 'r') as stream:
......
......@@ -18,8 +18,8 @@ from course_validate import VEDACat
from abvid_validate import validate_incoming, create_record, send_to_pipeline
auth_yaml = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'frontend_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'instance_config.yaml'
)
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment