Fix checking CI environments.
This commit is contained in:
parent
e46dbb5c44
commit
7d4300da65
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue