Fix config.py

This commit is contained in:
nothink 2018-07-26 02:04:34 +09:00
parent 5dd53df0ff
commit e5956e80a3
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@ matrix:
include:
- language: python
python:
- "3.5"
- "3.6"
before_install:
- sudo apt-get -y install software-properties-common

View file

@ -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,