Fix config.py
This commit is contained in:
parent
5dd53df0ff
commit
e5956e80a3
2 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@ matrix:
|
|||
include:
|
||||
- language: python
|
||||
python:
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
before_install:
|
||||
- sudo apt-get -y install software-properties-common
|
||||
|
|
|
@ -23,7 +23,7 @@ def docker_config() -> Dict:
|
|||
'POSTGRES_HOST',
|
||||
'ESEARCH_HOST'
|
||||
]:
|
||||
if not os.getenv(key, False) and os.getenv('CI') != 'true':
|
||||
if not os.getenv(key, False):
|
||||
raise errors.ConfigError(f'Environment variable "{key}" not set')
|
||||
return {
|
||||
'debug': True,
|
||||
|
|
Reference in a new issue