Commit 60835c26 by muzaffaryousaf

Fixing debug error.

File "/home/ec2-user/edx-video-pipeline/VEDA/django_secrets.py", line 24, in <module>
:     DJANGO_DEBUG = return_dict['debug']
: KeyError: 'debug'
parent c0fa6884
......@@ -21,5 +21,5 @@ with open(read_yaml, 'r') as stream:
DJANGO_SECRET_KEY = return_dict['django_secret_key'] or 'test_secret_key'
DJANGO_ADMIN = ('', '')
DJANGO_DEBUG = return_dict['debug']
DJANGO_DEBUG = return_dict['debug'] if 'debug' in return_dict else False
DATABASES = return_dict['DATABASES']
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