Fix checking CI environments.

This commit is contained in:
nothink 2018-07-26 02:38:11 +09:00
parent e46dbb5c44
commit 7d4300da65

View file

@ -51,7 +51,7 @@ def read_config() -> Dict:
if os.path.exists('../config.yaml'):
with open('../config.yaml') as handle:
ret = merge(ret, yaml.load(handle.read()))
elif os.path.exists('/.dockerenv') and os.getenv('CI') != 'true':
if os.path.exists('/.dockerenv') and os.getenv('CI') != 'true':
ret = merge(ret, docker_config())
return ret